Newbie needs help with Random Image tag

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jasonimani
New Member
New Member
Posts: 5
Joined: Thu Feb 12, 2009 6:21 pm

Newbie needs help with Random Image tag

Post by jasonimani »

Hi,

First off, thank you for your help. I’ve searched the forums for an answer, and although other people have posted about this same problem, no one posted how they solved it.

I'm running the latest version of CMSMS on 1&1 Lunix hosting platform (running php 4.4.9 & mysql 5.0.51a). The site I'm working on is temporarily located at: www.jasonimani.com/simple/

Just beneath the navigation (the green box right now), I have set of three randomly selected images. On the original version (before I moved to CMSMS) I was using a simple PHP script by Matt Mullenweg. I called it with:

Unfortunately, it didn’t work. I don’t know why, but whatever, so I tried other random image scripts from CMSMS code repository and each one just returns the filename of the image and not the image itself.

Here’s one’s I’ve tried:
{random_image_selective dir="images/tips/series1"}

{random_image folder=” images/tips/series1”}

What am I doing wrong? Thank you again for your help!
stevew
Forum Members
Forum Members
Posts: 74
Joined: Wed May 21, 2008 7:02 am

Re: Newbie needs help with Random Image tag

Post by stevew »

There's a tag in Extensions->Tags that works for me:

{multiple_random_image}

The Help file lists the parameters. Mine works with:

{multiple_random_image folder='uploads/images/header_photos'}

in the page template.
HTH
jasonimani
New Member
New Member
Posts: 5
Joined: Thu Feb 12, 2009 6:21 pm

Re: Newbie needs help with Random Image tag

Post by jasonimani »

Sweet...you rock Steve!

-Jason
Post Reply

Return to “Modules/Add-Ons”