Help With Thumbnail Borders Help With Thumbnail Borders
 

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

Help With Thumbnail Borders

Started by l33Ryan, June 30, 2007, 06:31:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

l33Ryan

Hi, i am new to using coppermine and also new to owning a website so i am hoping someone can help me out as i am not very good at this sort of thing quite yet.

I just really need some help in changing the way my thumbnails are...

They are currently like this...
Screenshot 1

...but i really want them to show like this...
Screenshot 2

Can anyone help me out please?

Much Appreciated and Thanks In Advance

[edit GauGau] Replaced hotlinked pics with attachments [/edit]

Stramm

You want to have cropped thumbnails... then you should take a look at the modpack.
http://forum.coppermine-gallery.net/index.php?topic=28367.0

If however you want to have a different border size (your subject), then you can adjust that in the css

l33Ryan

Thanks for your help. As i said though, i am new to this so i have no idea what to actually do and i don't want to mess it up. I don't suppose anyone knows of someone that would do it for me?...Willing to pay of course, depending on price :-)

Thanks

Joachim Müller

Applying this trivial little task for you should be easy - however, we don't believe in just doing somebody else's work. You won't learn anything from that. Instead, we're ready to teach you what you need to do. For a start, post a link to your gallery.


Joachim Müller

First of all: you shouldn't have named your custom theme "All Rise For Lee" - avoid spaces in folder and file names like the plague as well as capitalization. None of your site visitors will care how your theme is actually named, so I suggest changing it to "all_rise_for_lee" or similar. Anyway: to accomplish changed thumbnail borders, edit themes/your_theme/style.css, find the class .image and edit as you see fit. In your case, edit http://www.allriseforlee.net/gallery/themes/All%20Rise%20For%20Lee/style.css, find.image {
        border-style: solid;
        border-width:1px;
        border-color: #000000;
        margin: 2px;
}
and replace with.image {
        border-style: solid;
        border-width:8px;
        border-color: #FFFFFF;
        margin: 2px;
}

l33Ryan

Okay, i have done that, thanks but how do i get them to be all the same size with the random crop of the image. I'm sorry i am pretty useless as i am new to this kind of thing. My friend actually installed coppermine for me but she has gone away for 3 weeks so can't ask her...

I'm kinda scared that if i attempt to do what i don't understand, then i will mess it all up.

Joachim Müller

Quote from: l33Ryan on July 02, 2007, 01:15:22 PMhow do i get them to be all the same size with the random crop of the image.
Has already been answered:
Quote from: Stramm on June 30, 2007, 08:55:22 PM
You want to have cropped thumbnails... then you should take a look at the modpack.
http://forum.coppermine-gallery.net/index.php?topic=28367.0
Please respect the "one issue per thread" policy. Marking as "solved".