Random image in wordpress header
|Posted: Sat, 2008-11-01 03:30|
I was looking at the wordpress theme: http://www.templatelite.com/photo-frame-free-wordpress-theme/ It has a cool image in the middle of the header that can be changed by dumping jpg's into a subfolder. I'd like to skip that and have the theme pull random images from the gallery.
This theme also uses GD Library to slightly rotate the image and resize if large. This is done in a php file separate from the traditional wordpress theme pages. I need to know the "call" for the theme to get a random jpg from gallery2 (hosted on same server, but different db), and then be able to do the gd library mumbo-jumbo (tilt, resize).