Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > MISCELLANEOUS > Lounge

Post Reply
 
Thread Tools
  #1  
Old 10-22-2006, 01:44 AM
ehmotion Offline
pp regular
 
Join Date: Aug 2005
Posts: 20
ramina's thumbnail script

Hey,

I'm trying to personalize ramina's script for displaying my images on my wordpress blog.

How would I put a border around the thumbs or perhaps just space the thumbs out some more?

I want to display 2 rows of 2 and have them more evenly spaced out in my sidebar. Check out http://blog.ehmotion.com to see how it is currently being displayed.

Thanks,
Justin
Reply With Quote
  #2  
Old 10-22-2006, 02:37 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
i'm not familiar with the addon... in fact i have never looked at the code but i imagine it's quite easy. you need to look in the addon and search for ' <img src ' - then within that <img> tag just give it a class ie... <img class="pixelpostthumbs" src=.... then using css in your wordpress stylesheet you can define some padding or a border etc.

does that make sense?
Reply With Quote
  #3  
Old 10-22-2006, 02:38 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
oh and so that they display in two rows. place them inside something like this <div style="width:200px;"> put your thumbnail script here </div>... that should force them into two rows.
Reply With Quote
  #4  
Old 10-22-2006, 04:12 AM
ehmotion Offline
pp regular
 
Join Date: Aug 2005
Posts: 20
hmmm, kinda but not really. If I understood basic css it probably would. I'll try and give it a shot though.

Thanks Joey
Reply With Quote
  #5  
Old 10-23-2006, 01:48 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
sure... read up a few bits on google about css... it looks a little bit daunting but it's very simple when you understand the basics. if you have any problems and need more specific help then you can email me through:

joey at pixelpost dot org
Reply With Quote
  #6  
Old 06-03-2007, 12:19 AM
jet's Avatar
jet Offline
forum loafer
 
Join Date: Dec 2005
Location: London, UK
Posts: 12
Lightbulb

i don't think you can apply a class to an <img> tag... you could style <img> in the css, but that would affect all <img>'s on the site.

what you could do is...
<div class="whatever">
<img>
</div>

then in the css...
#whatever img{
your css styling
}

that way it's stying the <img> within the <div class="whatever">
__________________
jetpad.co.uk/plog
Reply With Quote
  #7  
Old 06-04-2007, 01:36 PM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
Quote:
Originally Posted by jet View Post
i don't think you can apply a class to an <img> tag...
Are you suggesting there's some rule that prevents this, or just that it wouldn't work in this particular case?

If you're putting the thumbnails within a container already, such as a sidebar div, you could save yourself some code, by doing this:

<img class="whatever">

then in the css...
.whatever{
your css styling
}
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:47 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs