|
#1
|
|||
|
|||
|
Random Thumbnails - Editing
Howdy all,
A quick question.. I'm not a php whiz but am wondering if this can be done. The random thumbnail addon is great, but with how I want my site setup, I want it to be vertical instead of horizontal. Is there a way to make the tag have 3 photos, one underneath eachother with a <br> in between, rather than 5 next to eachother? Thanks in advance!
__________________
http://splendor-solis.com |
|
#2
|
||||
|
||||
|
you can add <br> after each or using a
<div style='width=100px'> <RAND_THUMB_TAG> </div> (a <div> with limitted width)
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
|||
|
|||
|
OK fantastic, I will try that when I have a bit of spare time.
Thanks!!
__________________
http://splendor-solis.com |
|
#4
|
|||
|
|||
|
Where abouts am I adding the <br> ?
From how I understand the php file, it's going to automatically make it a row.. Is it possible to edit it to make it a column instead?
__________________
http://splendor-solis.com |
|
#5
|
||||
|
||||
|
yes. as raminia said use something like this:
<div style='width=100px'> <RAND_THUMB_TAG><RAND_THUMB_TAG><RAND_THUMB_TAG> </div> that will make a column of 3 random thumbs.
__________________
Affordable Website Design in North Wales |
|
#6
|
|||
|
|||
|
If I'm reading that correctly and I insert - <IMAGE_THUMBNAIL_RANDOM_ROW> - it's going to do 3 columns of 5 thumbnails in a row?
Or is there another tag I need to use? Edit: OK, I think I am getting somewhere now.. Changed the amount of thumbnails in the options (I didn't realise this would work for the random tag). Except, when I do that it gives 3 of the same thumbnail
__________________
http://splendor-solis.com |
|
#7
|
||||
|
||||
|
oh. i wasn't aware of that tag.
try <div style='width=100px'> <IMAGE_THUMBNAIL_RANDOM_ROW></div> what <div style="width=100px"> does is set an invisible column in which the thumbnails can't leave. Eg, if your thumbnails are 50px wide that will be two columns of thumbs if they are 100px then that's one column. ... vertical.
__________________
Affordable Website Design in North Wales |
|
#8
|
|||
|
|||
|
Thanks Joey.. That didn't work, but I think that's because it's in a table within my code.
I'm going to leave it for the moment, simply becuase I've just played around with the res and it doesn't fit on the screen properly at 1024, and I'd rather people didn't need to scroll. Cheers though!!
__________________
http://splendor-solis.com |
| Post Reply |
| Thread Tools | |
|
|