zenphoto forums » General Zenphoto Discussion

Image redirects from jpgs

(3 posts)
  1. Nezzy

    Joined: Apr '16
    Posts: 10

    While page load speed analysis, the result showed that the index.php and album.php page (NOT image) images are being redirected:
    I.E. redirect from GTmetrix for an album image:


    Is this suppose to occur? If not, any idea what the cause may be? I have added my own theme. just looking for a place to start the search....

    Zenphoto 1.4.14 is the version i'm using

    Thank you

    Posted 3 months ago #
  2. Nezzy

    Joined: Apr '16
    Posts: 10

    (NOT image.php)

    Posted 3 months ago #
  3. Zenphoto development team

    Zenphoto team
    Joined: Jul '07
    Posts: 16,848

    Yes, that url is the correct url to the image processor (which i.php is) to generate the cached versions of resized and/or cropped images. It appears only once until the image is created.

    More about how caching works in Zenphoto here: http://www.zenphoto.org/news/caching/

    These urls on your site probably come from album thumbs being set to random. So the image changes every time and if you have a lot of images in those albums you most likey always get an yet unprocessed one. So solution is to set a static album thumb on each album edit page or use the cacheManager to pre-cache (the theme used must be setup correctly if it uses custom sizes).

    Don't forget to read the Forum rules and usage resources
    Posted 3 months ago #

RSS feed for this topic


You must log in to post.