Jump to content

Random Image


Recommended Posts


Can anyone help me create a rule that will pull an image from a defined location at random? There could be as few as two images to choose from, could be more, but the selection should be random. This is for print, not web.


Creator 10.03, PC, Producer server

Edited by mdlivels
Link to comment
Share on other sites

Thanks, Scott. Not working for whatever reason. When I go to process the project (just one page) it sits for hours on 0%. I'm not sure what the issue is, but it's not fond of that code! I put that into an empty Javascript rule (graphic) and put it into an image box, but nothing.
Link to comment
Share on other sites

I have an update! Must be something else happening with this template (it's an existing one that I didn't create, so there are TONS of rules already). I pulled your code out to a clean new file and it works perfectly. Can't thank you enough for this - many, many thanks!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...