• Resolved manu334

    (@manu334)


    Just noticed a very weird bug when displaying a gallery via ngg_images-shortcode:

    – It tries do load an image from a URL that doesn’t exist in WordPress’ rewrite-list (https://www.agenda-austria.at/nextgen-image/647/180x120x100/crop/e06aa557a1fb63d599dcd5883f06bbfc)
    – happens when override_thumbnail_settings=1
    – To solve I generated thumbs in the correct size and disabled override_thumbnail_settings
    nextgen-image didn’t appear in rewrite-list.

    I’m on the latest WordPress and Ng-Gallery version. Didn’t try disabling plugins as there are too many.

    The function “Edit Thumbnail” uses the same URL that fails. I’m on Nginx + PHP-FPM.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @manu334 – Can you share a link to where the inserted display can be seen as is?

    Thanks!

    – Cais.

    Thread Starter manu334

    (@manu334)

    Thanks for looking into this. Here the gallery with override_thumbnail_settings="1"

    https://www.agenda-austria.at/bildung-ngg-test/

    Result: tries to load thumbs from this nextgen-image URL that doesn’t work.

    And there the exact same shortcode with override_thumbnail_settings="0":

    https://www.agenda-austria.at/bildung/

    Result: Thumbs load correctly from the pre-generated thumbs, rather the dynamic URL.

    Plugin Contributor photocrati

    (@photocrati)

    @manu334 – With the shortcode that is overriding the thumbnail dimensions (this particular parameters function), are you also setting both the thumbnail width and height parameter values?

    Also, is this only a problem for a specific language (I noticed you have a translation option on your site)?

    Thanks!

    – Cais.

    Thread Starter manu334

    (@manu334)

    Yes. We’re also changing the thumb sizes, else we don’t need to override them. The full shortcode is this:

    [ngg_images source="galleries" container_ids="59" display_type="photocrati-nextgen_basic_thumbnails" override_thumbnail_settings="1" thumbnail_width="180" thumbnail_height="120" thumbnail_crop="0" images_per_page="0" number_of_columns="3" ajax_pagination="0" show_all_in_lightbox="0" use_imagebrowser_effect="0" show_slideshow_link="0" slideshow_link_text="[Show slideshow]" order_by="sortorder" order_direction="ASC" returns="included" maximum_entity_count="500"]

    I just duplicated the post into English from German to see if that’s causing the error. Same result so far:

    English: https://www.agenda-austria.at/en/bildung-ngg-test/
    German (as given previously): https://www.agenda-austria.at/bildung-ngg-test/

    Plugin Contributor photocrati

    (@photocrati)

    @manu334 – Please send us a Bug Report (https://imagely.com/report-bug/ … please reference this topic) so we can get a better look under the page at your site.

    Please include as many details as you can about your site and the issue at hand so we can move on this as fast as possible.

    Thanks!

    – Cais.

    Thread Starter manu334

    (@manu334)

    Filed the bug report as suggested. Let me know if I can do anything else for now.

    Plugin Contributor photocrati

    (@photocrati)

    @manu334 – Thanks! Let’s carry on the conversation there for the time being.

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Thumbnail bug when setting override_thumbnail_settings’ is closed to new replies.