forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: l33Ryan on June 30, 2007, 06:31:30 pm

Title: Help With Thumbnail Borders
Post by: l33Ryan on June 30, 2007, 06:31:30 pm
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]
Title: Re: Help With Thumbnail Borders
Post by: 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

If however you want to have a different border size (your subject), then you can adjust that in the css
Title: Re: Help With Thumbnail Borders
Post by: l33Ryan on July 01, 2007, 11:49:50 am
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
Title: Re: Help With Thumbnail Borders
Post by: Joachim Müller on July 02, 2007, 07:46:08 am
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.
Title: Re: Help With Thumbnail Borders
Post by: l33Ryan on July 02, 2007, 11:56:20 am
Here is the link...

http://www.allriseforlee.net/gallery/
Title: Re: Help With Thumbnail Borders
Post by: Joachim Müller on July 02, 2007, 12:52:10 pm
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
Code: [Select]
.image {
        border-style: solid;
        border-width:1px;
        border-color: #000000;
        margin: 2px;
}
and replace with
Code: [Select]
.image {
        border-style: solid;
        border-width:8px;
        border-color: #FFFFFF;
        margin: 2px;
}
Title: Re: Help With Thumbnail Borders
Post by: l33Ryan on July 02, 2007, 01:15:22 pm
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.
Title: Re: Help With Thumbnail Borders
Post by: Joachim Müller on July 02, 2007, 01:21:06 pm
how do i get them to be all the same size with the random crop of the image.
Has already been answered:
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".