View Full Version : Random Thumbnails - Editing
Transcending
08-30-2005, 08:49 AM
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!
raminia
08-30-2005, 10:54 AM
you can add <br> after each or using a
<div style='width=100px'> <RAND_THUMB_TAG> </div>
(a <div> with limitted width)
Transcending
08-30-2005, 12:24 PM
OK fantastic, I will try that when I have a bit of spare time.
Thanks!!
Transcending
08-31-2005, 09:18 AM
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?
Joe[y]
08-31-2005, 09:28 AM
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.
Transcending
08-31-2005, 09:44 AM
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 :(
Joe[y]
08-31-2005, 09:52 AM
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.
Transcending
08-31-2005, 10:16 AM
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!!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.