Page 1 of 1

display categories random image

Posted: 17 May 2009, 13:30
by donkeyslo
Hi!
Can't find if this is possible or not, have googled and searched the forum but can't find the answer.
I have images of different sizes in the categories, for example 300x450px and 450x300px, so when i display categories, some thumbnails are 75x100px and some 100x75px. I don't want to crop the 100px height automatically, because it crops in the middle of the image. Is there an option to turn off the random images for categories so for example only the thumbnail of the last uploaded image of a category would be displayed?
Tnx for the answer ...
Greetings, Matej

Re: display categories random image

Posted: 17 May 2009, 20:19
by Jan
Hi, for disabling cropping images see parameters:

https://www.phoca.cz/documents/2-phoca-g ... -menu-item

For not displaying random image, you can display folder icon or you can set displaying of firt image in category, see:
https://www.phoca.cz/documents/2-phoca-g ... ent/24-faq ( 6. )

Jan

Re: display categories random image

Posted: 18 May 2009, 18:40
by donkeyslo
Thank you :twisted:

Re: display categories random image

Posted: 21 May 2009, 23:00
by Jan
Ok

Re: display categories random image

Posted: 18 Jun 2009, 21:36
by marks
I just implemented this in version 2.2.4 and the line numbers given in FAQ #6 should be changed to 221 in categories and 551 in category. Works like a charm!

Re: display categories random image

Posted: 19 Jun 2009, 09:35
by caro84g
changed in documentation, thank you for mentioning :|