• Resolved flomei

    (@flomei)


    Hey!
    I’ve registered a custom image size to use with the widget.

    As far as I understand from the documentation, I can pass that image size in the shortcode like this:

    [vsel-all-events image_size="event_preview_thumb" event_cat="cat1, cat2, cat3" order=asc]

    I’ve made that sure that the image exists in the right dimension, too, by regenerating this image size.

    Nevertheless, the widget uses the full size image and seems to ignore the parameter AND the default setting from VSEL -> Widget settings page.

    What could be the reason for this?

    Best regards
    Florian

    • This topic was modified 3 years, 7 months ago by flomei.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Florian,

    There’s no (shortcode) attribute for image size.
    Featured image size (and source image) can only be set via the settingspage of VSEL.
    My plugin supports the 3 default image sizes from your WordPress install (set at page Settings > Media). And the default post-thumbnail size from your theme.
    Please note there are 2 settings: for image width and for the source image that is being used.

    Guido

    Thread Starter flomei

    (@flomei)

    Hey Guido,
    sorry, don’t know where the image size attribute came from.

    I have removed it, also did an update of the plugin, but the shortcode still loads the full size image although I chose “preview image” in the widget settings page.

    Any ideas what might cause this?

    Florian

    Plugin Author Guido

    (@guido07111975)

    Hi Florian,

    although I chose “preview image”

    I don’t recognize “preview image”… Or do you mean the Post Thumbnail?

    What’s the URL of your site?

    Guido

    Thread Starter flomei

    (@flomei)

    Hey Guido,
    “Vorschaubild” which is “preview image” in German is what WordPress uses for the post thumbnail.

    How can I contact you in private regarding the URL?

    Regards
    Florian

    Plugin Author Guido

    (@guido07111975)

    Hi,

    Have send you an email.

    Guido

    Thread Starter flomei

    (@flomei)

    Hey everybody,
    after some help from Guido and having a look at the code + debugging it, it seems like there’s a conflict with the used theme.

    Looks like Impreza changes the “post-thumbnail” in one way or another and returns the full size image instead.

    Switching the image size in the VSEL settings page and defining the right image size through the integrated media settings in WP fixed this issue.

    Regards
    Florian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin does not use custom image size’ is closed to new replies.