Author Topic: {random_image} Question  (Read 3716 times)

0 Members and 1 Guest are viewing this topic.

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
{random_image} Question
« on: November 01, 2006, 08:31:21 PM »
Is there a way to display a random image next to my google ad's with a set size. Also I need it to pull from one specific catagory.

I have the code for static images and it works great but I want to pull a random image from a specific catagory instead.

Best

      <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}

This is the code I was using and it works but it only pulls images from random categories. I want to be able to select the catagory it pulls the images from.
« Last Edit: November 01, 2006, 09:28:52 PM by unite »

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: {random_image} Question
« Reply #1 on: November 03, 2006, 08:28:21 AM »
wait! there is no need to post replies on your own threads ;)
cheers
Nicky
Your first three "must do" before you ask a question ! ( by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: {random_image} Question
« Reply #2 on: November 03, 2006, 01:19:05 PM »
There is when your trying to bring attention to it. There was no need to delete my second post by the way. It was directed to Jan or V@no.


Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: {random_image} Question
« Reply #3 on: November 10, 2006, 08:15:39 PM »
Still need some help with this please?