Gossamer Forum
Home : Products : Links 2.0 : Customization :

Random image... only if NOT = to certain value

Quote Reply
Random image... only if NOT = to certain value
Hi!

I installed some time ago a small routine some1 posted here (or helped me creating it) so I can randomly pick x different images from the links database and display'em on the homepage (home template) via SSI calls.


I was wondering if I could add a tag where ONLY a pick is valid IF and only IF the image URL is NOT equal to a given_url (eg. http://certain.string.com/)

So, the routine would randomly choose x different images and if one of the picks equals to that URL, it would not count as valid, and would rerandom until that spot is filled with an image with URL <> given_url



Check it live: http://webcamworld.com/directory/