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: change thumbs style  (Read 2992 times)

0 Members and 1 Guest are viewing this topic.

alexandre596

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
change thumbs style
« on: July 25, 2011, 06:30:59 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: change thumbs style
« Reply #1 on: July 25, 2011, 08:22:38 pm »

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

Would that work for your purpose?
Logged

alexandre596

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: change thumbs style
« Reply #2 on: July 26, 2011, 01:53:27 am »

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


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: change thumbs style
« Reply #3 on: July 26, 2011, 12:10:39 pm »

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.
Logged

alexandre596

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: change thumbs style
« Reply #4 on: July 26, 2011, 01:48:03 pm »

Quote
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.

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: change thumbs style
« Reply #5 on: July 26, 2011, 03:04:41 pm »

Logged

alexandre596

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: change thumbs style
« Reply #6 on: July 26, 2011, 04:10:32 pm »

working

thank you soo much
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 19 queries.