4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: DigitalOldschool on May 24, 2005, 10:07:24 PM

Title: Single Image under Main Category
Post by: DigitalOldschool on May 24, 2005, 10:07:24 PM
On my gallery, I have a main Category, "Our Home" with several sub-categories beneath, "Interior, Exterior, etc"
There are no images directly beneath "Our Home" only within the sub-categories.
Would it be possible to have one image, say a picture of my house :), with the sub-categories listed above it?
If I was to put the image of the house in the Our Home category, it would show up as a thumbnail, but seeing as its the only image
in there, I want it to be full size.
Any ideas?
Did I make the question clear enough? If not, I can mock-up a representation of what I mean.

Thanks for your help,
-DigitalOldschool
Title: Re: Single Image under Main Category
Post by: mawenzi on May 24, 2005, 11:24:35 PM
Hi DigitalOldschool,

use [MOD] Different cat templates (http://www.4homepages.de/forum/index.php?topic=1847.msg7781#msg7781) and insert in every different cat template your special image, text, ... etc ...  :wink:

mawenzi
Title: Re: Single Image under Main Category
Post by: DigitalOldschool on May 24, 2005, 11:31:19 PM
use [MOD] Different cat templates (http://www.4homepages.de/forum/index.php?topic=1847.msg7781#msg7781) and insert in every different cat template your special image, text, ... etc ...

mawenzi, thanks for your reply.
If I use this mod, the sub-categories will inherit the look. I like the look as it is for the sub-categories, I just want the main category to display one, regular sized image.
Any other suggestions?
Title: Re: Single Image under Main Category
Post by: mawenzi on May 24, 2005, 11:58:23 PM
then use for your sub-categories also a "different" template, but it looks like a "normal" template ...  :wink:

main-cat-template : categories_<cat_id>.html (your special template with a full size image)
sub-cat-template : categories_<cat_id>.html (your normal template)

mawenzi

Title: Re: Single Image under Main Category
Post by: DigitalOldschool on May 25, 2005, 02:03:00 AM
Works like a charm!
Thanks for your help mawenzi!

-DigitalOldschool