forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Lucas Xavier on November 04, 2005, 08:02:01 pm
-
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?
-
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 PM supporters - this is the one you sent me
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!
-
Oh someone can move the topic? Pc problems...
and is a hack!
See one thumbnail:
(http://www.sweetkisses.us/albums/lanov205/tn01.jpg)
If was only on stylesheet, isn't will appear here
-
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).
-
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
-
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...
-
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
-
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.
-
I don't have esperience in php :'( will be hard to me
-
no PHP involved - this is plain html and css.
-
What I can do it? =)
-
What I can do it? =)
Nothing ventured, nothing gained, Lucas. What theme are you using?
Dennis
-
I contacted the gallery admin and she said that was used Arles to make the thumbs
-
(http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/thumb_33.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/33.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/thumb_32.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/32.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/thumb_31.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/31.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/thumb_30.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/30.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/thumb_29.jpg) (http://www.madonnaexpress.com/gallery/albums/tv/2003/trl/29.jpg)
Is really :D the software is excelent
-
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.