I have a client that wants a feature, and I have no idea how to do it. The want a random image (from image.module) to be displayed on the opening page of her site. The opening page would consist of only a logo, and the random image. When you click on either of them, you would be taken to the main part of the site.

Comments

xand’s picture

just do it outside of drupal..

coreb’s picture

I thought of doing that, but I would have still needed to import the drupal libraries/modules. That could've gotten too messy. Thanks, though.

xand’s picture

ah. great that you found a solution.

It's just that I thoguht that image module saved images to the file ssystem anyway, making it trivial to extract images... but guess i was wrong.. :p

Dublin Drupaller’s picture

Using a combination of the front_page.module and the tweaking the display (x) random thumbnails in a page snippet to display the full image instead of a thumbnail will do it for you...

The front_page.module isn't paramount, there are other ways of doing it, but, it will make it easier for you to setup.

Just remember to select the PHP filter when saving your front page....

hope that helps..
Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

coreb’s picture

D'Oh! I was so busy looking for some other feature, I skipped over that. That worked perfectly. Thank You.