![]() |
|
Crop Photos Feature and Thumbnail scale - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Crop Photos Feature and Thumbnail scale (/thread-4170.html) |
Crop Photos Feature and Thumbnail scale - drewhack - 2008-12-02 I have seen several posts on this and I have unsuccessfuly gotten any of the "fixes" to work. Instead of having the thumbnails cropped to a square I would like them to maintain some sort of aspect ratio. I am using the Default Dark theme and have tried in several nightly builds (I am running 11-30 right now) as well as the stable 1.2.1. The previous fixes seem not to work still. What can I do to get that to happen. By that I am referring to thumbnails maintaining the aspect ratio of the image, without having to create individual thumbnails for each picture. Thx Crop Photos Feature and Thumbnail scale - flu - 2008-12-02 Hi, "> ` Crop Photos Feature and Thumbnail scale - acrylian - 2008-12-02 You should have found that we have the so called maxspace functions for that and after some issues with them they seem to correctly now in the nightly (they already are there in 1.2.1 but with bugs). For example they are mentioned here: //www.zenphoto.org/support/topic.php?id=4006#post-24199 But here are the direct links to the documentation (where all available functions are listed): Crop Photos Feature and Thumbnail scale - drewhack - 2008-12-03 Sorry to be a noob, so how or what would I do with these functions to put them in properly so that whether the image is landscape or portrait that it just keeps the same maximum length on the longest side Crop Photos Feature and Thumbnail scale - acrylian - 2008-12-03 You need to replace the standard image calls on the theme files with those functions. If you haven't already please read http://www.zenphoto.org/2008/05/theming-tutorial/ first to get a little familiar with Zenphoto themes in general. Also please consider to read http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/ too. Of course changing a theme requires some basic knowledge of HTML, CSS and PHP. |