Border on Images Border on Images
 

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

Border on Images

Started by Lucas Xavier, November 04, 2005, 08:02:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lucas Xavier

Someone know a hack to create border on Thumbnails? I saw in this site: http://www.sweetkisses.us
the thumbnails have a pretty border and I want it lol
;D

Someone help me?

xplicit

That's not a hack...

Just smple stylesheet stuff

they use



.image {
        border-style: solid;
        border-width:0px;
        border-color: #C0766A;
        margin: 2px;
}

.imageborder {
        border: 1px solid #C0766A;
        background-color: #FFFFFF;
        margin-top: 30px;
        margin-bottom: 30px;
}

.thumbnails {
        background: #FBEDE9;
        padding: 5px;
}


in theire stylesheet
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

Joachim Müller

don't PM supporters - this is the one you sent me
Quote from: Lucas Xavier
Hi gagau! I know that you can create mods  :D I sending this PM to ask for a thumb with border mod like in http://www.sweetkisses.us
Can you?

Other thing to ask: I can't create topics :(
. The purpose of having a support board is that answers are available for others as well, asking for individual support is selfish. Read my signature!

Lucas Xavier

Oh someone can move the topic? Pc problems...
and is a hack!
See one thumbnail:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.sweetkisses.us%2Falbums%2Flanov205%2Ftn01.jpg&hash=4bd9c7bb79706fe80f142b067e3d9e352c92fed8)

If was only on stylesheet, isn't will appear here

Joachim Müller

the thumbnail you posted doesn't have a border. If it has a border on the site you're refering to, then this is done using a stylesheet. If it still has a border when you view this thread, then it is something in your browser. Xplicit's answer is totally correct. Post a link to your site for details. There's no need to move this thread (yet).

xplicit

Ok I see your point

http://www.sweetkisses.us/albums/astrogirlsp/tnastro1.jpg

The thumbs have a border which is not created by a stylesheet, so I appologize
I dont see the border in the original and the normal size picutures

http://www.sweetkisses.us/albums/astrogirlsp/astro1.jpg

So they could have done 2 thing:

1) made the thumbnails manually before uploading.
2) using a function for it in theire image convert utility

I can't see which of the two they are using. I think option 2 would be the most logical
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

Lucas Xavier

probabely the mod is just to thumb. And i want only to thumbs too... Don't have a mod/crack to do this?
If I make manually, I'll take too many time to add pictures :( it's not a good way to large galleries like mine...

artistsinhawaii

Lucas,

What you want is not impossible, but quite tedious to do.  I have it on all my themes, thumbnails, intermediate, and full-size.   http://www.artistsinhawaii.com/evj/index.php

What you will need to do is create a table with a unique class="name" around the table or cell that displays thumbnails.  This is in several places in theme.inc.php and possibly theme.php. Add that class to your Style sheet and set the background and cellpadding values to what you want.

Dennis 
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

Quote from: GauGau on November 05, 2005, 05:29:02 AM
the thumbnail you posted doesn't have a border.
I'm sorry, I just realized it actually has got a border when looking at the forum from my desktop PC - I didn't notice when I was looking at the thread on my notebook screen.

Dennis is right - you can have two or more css classes applied to one object by separating the class names with spaces, e.g.<span class="foo bar">[...][</span>would apply bith the css class "foo" as well as "bar" to everything that is within the <span>-object.

Lucas Xavier

I don't have esperience in php :'( will be hard to me

Joachim Müller

no PHP involved - this is plain html and css.

Lucas Xavier


artistsinhawaii

Quote from: Lucas Xavier on November 07, 2005, 10:03:29 AM
What I can do it? =)

Nothing ventured, nothing gained, Lucas.  What theme are you using?

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Lucas Xavier

I contacted the gallery admin and she said that was used Arles to make the thumbs


Joachim Müller

I can't see the reason for this - could all be accomplished by defining proper stylesheets. You do this once and you're done - you don't have to process all thumbs using your desktop app, as this partially defeats the purpose of having coppermine create thumbs and intermediates on the server on upload. However, if you prefer your client-sided additional processing, that's fine.