Skip to content

Add option to pass parameters in image URLs and/or allow for filtering image processes #6

@E-VANCE

Description

@E-VANCE

Hi there,

I jsut tried to pass a custom parameter to a certain set of images but these are being ignored – we cannot use global params for this since it only applies to certain templates and we need to manage the images there differently...

This is how we have set up the image generation:

wp_get_attachment_image($thumbnail_id, 'medium', false, array(
  'data-src' => wp_get_attachment_image_url($card_thumbnail_id, 'full')) . '?ar=1:1',
))

The appended ar=1:1-values are being disregarded and Gumlet produces an image source like

/app/uploads/some-image.png?compress=true&quality=80&w=200&dpr=1.0

Is there any way to specify parameters to be used here?

I searched the plugin files for occurrences of apply_filters() but there are none to be found that could be utilized here.

Looking forward to your input and thanks for the effort!

Regards,
Henning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions