Hello,
It's possible to define custom thumbnail ? If the answer is "no", change getThumb method is the good way ?
like :
`
$custom_th_path = $_SERVER['DOCUMENT_ROOT'] . WEBPATH . "/custom_thumbnails/";
if(file_exists($custom_th_path . $this->album->name . "/" . $this->filename)) {
return WEBPATH . "/custom_thumbnails/" . $this->album->name . "/" . $this->filename;
}
`
thanks !
(french user, sorry for my bad english )
What exactly do you want to do, manually generated thumbs? In case you don't know, you could use this:
http://www.zenphoto.org/documentation/Zenphoto/_template-functions.php.html#functionprintCustomSizedImage
or for album thumbs this:
http://www.zenphoto.org/documentation/Zenphoto/_template-functions.php.html#functionprintCustomAlbumThumbImage
has anybody developed an interface for custom thumbnails? i am putting together a site for someone who has no idea on the internet, let alone renaming and ftp-ing thumbnails.. for the life of me i cant find anything on these forums that points me in the right direction.
what i am looking for is a way of maintaining a standardised thumbnail shape, but changing the crop point of the thumbnail to a custom part of the image.. eg so if i am taking a portrait photo, and the persons head is at the top of the portrait, being able to crop a square thumbnail so that the head is not cut off at the chin..
previously i have used menalto gallery, which has been slow and over complicated, but allowed custom thumbnails of any shape or size to be uploaded and edited separate to the main image within the admin page..