change thumbs style change thumbs style
 

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]

Main Menu

change thumbs style

Started by alexandre596, July 25, 2011, 06:30:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alexandre596

I have coppermine on my server, and I created a style on style.css to make thumbs looks 88x128, and when mouse on, show the whole thumb..
everything OK, but I can't apply that style on HTML, since the Gallery tag takes the WHOLE gallery, not only the thumbs..
and I don't want the "normal" pics be that size...

any way to do it??
thank you ;D

Αndré

It's possible to add some extra class to all thumbnails with the help of a plugin, i.e. change
class="image"
to
class="image thumb"


Would that work for your purpose?

alexandre596

where should I place it??

I tried put it on {Gallery} tag, but all the pics changed, not only the thumbs..

here, the HTML / CSS code, idk if it'll be useful

HTML
http://pastebin.com/u8yGQF9H

CSS
http://pastebin.com/t1G7rneJ

and the page online
http://78violet.org/photos/

thanks



Αndré

I asked you if that change would be enough to accomplish what you described. The plugin doesn't exist yet, but it should be quite easy to create.

alexandre596

QuoteI asked you if that change would be enough to accomplish what you described. The plugin doesn't exist yet, but it should be quite easy to create.

oh, sorry, now I get it haha

well, I think so, since all I want to do is change the class..
that change is enought ;D

Αndré


alexandre596

working

thank you soo much