coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: altenae on March 22, 2005, 01:37:48 AM

Title: How to add thumnails to categories
Post by: altenae on March 22, 2005, 01:37:48 AM
Hi All,

Please check www.aviationphotos.org and find the "Airports all over the World" section. What I want is to add the flags of all the countries to all the different categories.

How can I do this ( for now I can only choose between JPG's which are available in the different albums underneath the category)

Edward
Title: Re: How to add thumnails to categories
Post by: Tranz on March 22, 2005, 01:42:22 AM
You can put the flags the albums. Try this thread  (http://forum.coppermine-gallery.net/index.php?topic=10087.0)on hiding certain files if you don't want the flag files to show up.

I'm not sure if it will work, but something to try.
Title: Re: How to add thumnails to categories
Post by: altenae on March 22, 2005, 09:43:10 AM
For example if I want to add a thumbnail to the category France I can choose only an image which is in one of the albums underneath the category France, but what I want is to choose another JPG file, which is not listed as available.


Anyone ????

Title: Re: How to add thumnails to categories
Post by: Casper on March 22, 2005, 04:52:30 PM
You can simply use bb code in the category description, like this;


[img]url of brazilian flag gif[/img]  Airports of Brazil.


The gif files can be anywhere on your server, and the description would look like this;

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fcoppermine.sourceforge.net%2Fdemo%2Fimages%2Fflags%2Fbr.gif&hash=ce66016b7773d6b7beeb4180ac90652153a81d03) Airports of Brazil.

You could of course use a larger flag image.
Title: Re: How to add thumnails to categories
Post by: altenae on March 22, 2005, 05:54:57 PM
Thank you this works for me.

One last question: Is it also possible to include a link with the thumbnail.  Normaly this is something like

<a href="LJ4H4312.jpg"><img src="LJ4H4312s.jpg" width="200" height="133" border="0"></a>


So I have to combine [img] and [url] but how ??

Edward
Title: Re: How to add thumnails to categories
Post by: kegobeer on March 22, 2005, 08:10:51 PM
[url=http://xxx][img]http://url[/img][/url]
Title: Re: How to add thumnails to categories
Post by: Tranz on March 22, 2005, 09:49:11 PM
If you do not know how to use bbcode, you can use the post editor of this forum to make clickable images.