Hi
I want to display all the thumbs from the subalbums of a certain album on a zenpage page.
in the codeblock of the zenpage I added;
''
this works and correctly shows the Album thumbs of the subalbums..
but how would I proceed to get the custom sized thumbs from am object? like printCustomAlbumThumbImage(getBareAlbumTitle(), 130); in a normal loop does?
thanks..
Hi Micheall, just tried it but broke the page....
You can't get the custom sized images directly from an object. The function doesn't have the object as a parameter, but instead uses $_zp_current_album, so setting the appropriate album to that variable should allow you access to that image using printCustomAlbumThumbImage().
`
`
did the job, thanks!!!!!
zenpageAlbumImage()does only display a sized image without cropping. If you want also cropping actually using
$albumthumbobj = $subalbumobj->getAlbumThumbImage(); // this returns an image object of the album thumb
$albumthumbobj->getCustomImage(...);
`
is what you are looking for.