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.
Blog is in
http://jpdimaggio.com/newsbut the images are all in
How can I have a random image from a separate directory?
- The topic ‘Random Image from a separate directory?’ is closed to new replies.