zenphoto forums » Usage Support

Thumbnail not being used

(9 posts)

Tags:

  1. SubJunk

    Contributor
    Joined: Dec '06
    Posts: 121

    I have a strange bug where an image thumbnail isn't being used: http://www.dualmonitorbackgrounds.com/gascan/
    I have uploaded the image again and it works fine, but I thought I would leave the bugged version up in case it can help find the bug.

    In the cache folder there are 2 candidates for thumbnails:
    st-04_249_cw249_ch87_thumb.jpg
    st-04_w249_h87_cw249_ch87_thumb.jpg

    But still the thumbnail image used on the album page is the full image.
    Any ideas?

    Posted 1 year ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,518

    You will have to investigate what the theme does. SInce it is not a standard theme we cannot help.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. SubJunk

    Contributor
    Joined: Dec '06
    Posts: 121

    It uses the same thing as the default theme:
    printImageThumb(getAnnotatedImageTitle()) within while(next_image()):

    Anyway I fixed it by re-uploading it so hopefully it was just a random bug

    Posted 1 year ago #
  4. SubJunk

    Contributor
    Joined: Dec '06
    Posts: 121

    OK it has happened again.
    I also switched to the default theme to check if that would affect it but it made no difference, it still did not display a thumbnail.

    The page with the bug is:

    http://www.triplemonitorbackgrounds.com/emac001

    It should look like:

    http://www.triplemonitorbackgrounds.com/riche

    Posted 1 year ago #
  5. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,518

    Please post the code how you display this. (Side note: 1.4.2.2 is not the latest release).

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  6. SubJunk

    Contributor
    Joined: Dec '06
    Posts: 121

    Hi acrylian, thanks for the reply!
    Here's the code from the default theme:

    <?php while (next_image()): ?>
    	<div class="image">
    		<div class="imagethumb"><a href="<?php echo html_encode(getImageLinkURL()); ?>" title="<?php echo getBareImageTitle(); ?>"><?php printImageThumb(getAnnotatedImageTitle()); ?></a></div>
    	</div>
    <?php endwhile; ?>

    P.S. I'm a little behind on updating, do you think 1.4.2.4 would help with this bug? I was planning on waiting for 1.4.3

    Posted 1 year ago #
  7. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,824

    At this point you might as well skip to 1.4.3. The beta is available now--our site is running it as well, see the news article.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  8. SubJunk

    Contributor
    Joined: Dec '06
    Posts: 121

    Should I update to r10048 (the revision labeled as the beta release) or just the latest one (r10177)?
    Do you think that will fix this bug?

    Posted 1 year ago #
  9. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,824

    The Beta release resides in the "trunk" nightly builds as described in the announcement. The 25 May nightly build is r10171. There has not yet been a build of r10177--that will happen tonight.

    Certainly we are not seeing any issues running the current software.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.