"Possible" is the wrong question, it depends on your knowledge. (That site is a bad example from the usability point of view btw (not to speak for slower connections). Horizontal scrolling is very inconvenient...)
Please try a forum search, I remember that we had a/some threads about that in hte past (I don't remember the links though).
My knowledge is limited - I've successfully hacked the standard templates but wouldn't be able to write code to extend the provided functionality. I guess my real question is 'can i hack the standard code to get all images from a gallery on a single page'.
Thanks for your concern about usability, very nice of you, it was just an illustration of all large images on a single page.
I tried a forum search but can't seem to come up with any relevant posts, again this is most likely due to my lack of knowledge, i am unsure of the correct ZenPhoto terminology.
Does not matter what type of images, it is just unavoidable to program some stuff since this is not Zenphoto's standard way of working.
Do you want to have all images you have on the index pages or do you just want all images of one single album on its page instead of thumbnails? That would make difference on how to do it.
I am now struggling with the size ratio though. I am trying to get all images to fit inside the 876 x 348 box (which image 3 fills entirely). I would've thought setting the thumbnail size to max width: 876 and max height: 348 would be correct. But it doesn't fit portrait images to 348 high, it sets them to 348 wide (eg http://koala.cbr.hosting-server.com.au/~swellpho/cache/test/chaos.jpg_348.jpg).
No, you are doing right. You currently cannot set a max width and height to fit images in a specific "square space". Zenphoto always uses the longest side for size. To workaround replace the thumbnail within the next_image loop
Comments
Please try a forum search, I remember that we had a/some threads about that in hte past (I don't remember the links though).
Thanks for your concern about usability, very nice of you, it was just an illustration of all large images on a single page.
I tried a forum search but can't seem to come up with any relevant posts, again this is most likely due to my lack of knowledge, i am unsure of the correct ZenPhoto terminology.
Do you want to have all images you have on the index pages or do you just want all images of one single album on its page instead of thumbnails? That would make difference on how to do it.
Thanks for the response.
I am now struggling with the size ratio though. I am trying to get all images to fit inside the 876 x 348 box (which image 3 fills entirely). I would've thought setting the thumbnail size to max width: 876 and max height: 348 would be correct. But it doesn't fit portrait images to 348 high, it sets them to 348 wide (eg http://koala.cbr.hosting-server.com.au/~swellpho/cache/test/chaos.jpg_348.jpg).
Is there something I'm doing wrong?
No, you are doing right. You currently cannot set a max width and height to fit images in a specific "square space". Zenphoto always uses the longest side for size. To workaround replace the thumbnail within the next_image loop
`<?php printImageThumb(); ?>`
on your album.php with
`
if (getFullWidth() === getFullHeight() OR getFullWidth() > getFullHeight()) { printCustomSizedImage(getImageTitle(), null, 876, null);
} else {
printCustomSizedImage(getImageTitle(), null, null , 348);
}
`
Thanks again!