Random Image from a separate directory?
-
I have had my galleries already installed and working (Gallery) long before I started with WordPress. Now, I’d like to add a random image to my sidebar.
All the “rotating” image code I have found uses relative path to the WordPress blog, and that doesn’t work for me. I can’t figure out how to have a random image using absolute path for the file directory.
Example:
Blog is inhttp://jpdimaggio.com/newsbut the images are all inhttp://jpdimaggio.com/gallery/albums.How can I have a random image from a separate directory?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Random Image from a separate directory?’ is closed to new replies.