Check image for support before build Url

Created on 16 November 2018, over 5 years ago
Updated 8 March 2024, 4 months ago

Before building the URL of the image, need to be sure the current image toolkit supports that Uri.
Such check need to be added to the template_preprocess_colorbox_formatter().

Example can be found in /core/modules/image/image.module:314 inside the template_preprocess_image_style() function.

It's necessary to support the SVG image β†’ module. Because GD2 does not support SVG images.

Will try to suggest a patch soon.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia kala4ek Novosibirsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024