Page 1 of 1
Single Image in Category
Posted: 25 Sep 2008, 00:49
by yellowjersey
Is is possible to have a single image instead of a folder in category view?
I know you can have a random image but I want to be able to pick one image only.
Thanks
Re: Single Image in Category
Posted: 25 Sep 2008, 09:30
by caro84g
Hi,
You need to hack the PHP code, then it is possible. Then it always takes the first image. See this post:
viewtopic.php?f=1&t=1625#p8901
Then select 'random image' - it'll display the first image of the category
Carolien
Re: Single Image in Category
Posted: 25 Sep 2008, 09:48
by yellowjersey
Thanks Carolien.
That is exactly the solution I was looking for.
Matt
Re: Single Image in Category
Posted: 25 Sep 2008, 09:50
by yellowjersey
p.s. How can I mark this as solved?
Re: Single Image in Category
Posted: 25 Sep 2008, 10:45
by caro84g
Hi Matt,
only moderators and administrators can do that - So I did
And we usually do it when someone says 'it worked, thank you' or something like that

Re: Single Image in Category
Posted: 26 Sep 2008, 11:34
by yellowjersey
Well it certainly worked and saved my from any more nagging from a client!
Thanks
Matt
Re: Single Image in Category
Posted: 02 Oct 2008, 18:11
by bulgarion
yellowjersey wrote:Well it certainly worked and saved my from any more nagging from a client!
Hah

It had the same use for me - complaint-saving code!