Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to add thumnails to categories  (Read 3249 times)

0 Members and 1 Guest are viewing this topic.

altenae

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 254
How to add thumnails to categories
« 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to add thumnails to categories
« Reply #1 on: March 22, 2005, 01:42:22 am »

You can put the flags the albums. Try this thread 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.
Logged

altenae

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 254
Re: How to add thumnails to categories
« Reply #2 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 ????

Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to add thumnails to categories
« Reply #3 on: March 22, 2005, 04:52:30 pm »

You can simply use bb code in the category description, like this;

Code: [Select]
[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://forum.coppermine-gallery.net/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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

altenae

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 254
Re: How to add thumnails to categories
« Reply #4 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: How to add thumnails to categories
« Reply #5 on: March 22, 2005, 08:10:51 pm »

Code: [Select]
[url=http://xxx][img]http://url[/img][/url]
« Last Edit: March 22, 2005, 10:02:16 pm by kegobeer »
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to add thumnails to categories
« Reply #6 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.