Paged Thumbs Nav

Hiyo! I'm just trying to figure out how to make the paged_thumbs_nav plugin use the custom cropped thumbnails done through the admin? The default crop is decapitating people, which I'd like to avoid if possible. I've tried setting the 'crop' option to true, false and NULL - none of which seem to do what I'm after.

Comments

  • I remember I had some issues with this before. I think the way I fixed is to just use the straight `<?php printPagedThumbsNav(); ?>` and then set the parameters in the plugins options (options>>plugins).

    I do believe there are some querks with setting the parameters directly in this function call, but they may have been fixed since my issue...
  • Still no luck :( If it helps at all, the page can be seen here: http://www.allyeska.com/index.php?album=vintageinspired/vintagepinup&#38;image=2772697947_f1ebf4d615.jpg

    The first thumbnail is an example of the kind of cropping I want to avoid...
  • acrylian Administrator, Developer
    The paged thumbs do not support the custom thumbs as it uses customimages functions. Only default images functions support the custom crop tool.

    Regarding the "decapitating people" please try the nightly build where the standard cropping has been changed to the law of thirds so that should not happen anymore.
  • Oh okay, thanks! Could you possibly tell me which files I would need to update to the nightly build version to get this new cropping?
  • All of then! We never recommend piecemeal use of changed software. The probability for disaster is just too great.
  • Not sure if I'm dong it right, but I replaced all the files and it's still cropping the same way :( Are the images caching maybe?
  • acrylian Administrator, Developer
    Yes, images are always cached. Clear the cache to see the effect.
  • Is it just browser cache? I've cleared that and it's still cropping the same.
  • acrylian Administrator, Developer
    The image cache of Zenphoto. Look at the admin overview page for example. Maybe get a little familiar how Zenphoto works:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#22
  • This helped the album thumbnails, but my little thumbnails in the paged thumbs nav were still looking funny.

    If anyone is interested, I made the Paged Thumbs Nav function use the custom cropping by replacing:

    `echo "imagegetCustomImage(null, $this->width, $this->height, $this->width, $this->height, null, null, true))."' alt=\"".strip_tags($image->getTitle())."\" width='".$this->width."' height='".$this->height."' />";

    `

    with:

    `echo "imagegetThumb())."' alt=\"".strip_tags($image->getTitle())."\" width='".$this->width."' height='".$this->height."' />";`

    And setting the thumbnail dimensions to something appropriate in the admin. I don't use the thumbnail pages, so this worked for me!
  • acrylian Administrator, Developer
    Yep, if you don't need special sizes for the thumbs nav that is the way.
Sign In or Register to comment.