• Kameeee

    (@kameeee)


    Hi all,

    I’ve got my own custom theme and I remember I had an issue a while back where the thumbnails I was viewing in the admin panel were not the same as the ones on the main site. Someone fixed this for me, this is what they said at the time:

    Next gen gallery caches all single picture appearance and create thumbnails automatically, without considering the thumbnail we create in admin area. When the new thumbnails are created, it is an automatic creation and irrespective of the thumb we are cropping in admin area.The thumbnails we create in admin area will be used only for galleries.

    So I changed in the code to display the thumbnails from thumb folder instead of creating a thumbnail in cache folder. In that way we can create a thumbnail in admin area and show the same on single pictures also.

    I’ve since upgraded WordPress and I’ve lost this change so the thumbnails are displaying incorrectly again. On the main site the thumbnail url is:

    https://www.mysite.com/d/wp-content/gallery/cache/1423_crop_144x144_one-image-here.png

    In the admin panel it is:

    https://www.mysite/d/wp-content/gallery/posters/thumbs/thumbs_one-image-here.png?i=1360372925

    Where/how can I change it so that the site uses the thumbs folder thumbnails rather than the cache folder?

    I appreciate any help/advice over this.

    https://www.ads-software.com/extend/plugins/nextgen-gallery/

  • The topic ‘Changing thumbnail location code on site?’ is closed to new replies.