Welcome, Guest. Please login or register.
March 16, 2010, 09:42:58 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 released!
Download and additional information are available here .
110144 Posts in 15911 Topics by 9277 Members
Latest Member: Funk-XL
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Bookmarks Mod Suggestion - Random Image Header
Pages: [1] Go Down Print
Author Topic: Bookmarks Mod Suggestion - Random Image Header  (Read 247 times)
bupaje

Offline Offline

Posts: 473


WWW
« on: November 13, 2008, 09:10:52 PM »

I have found that since my site has a fair amount of images, Google Image Search has become about the 3rd biggest source of traffic to my site in the past week - about 75 visitors a day. To take advantage of this I want to add some more image stuff.

I modified a simple snippet of code I found on the net like so

Code:
<img src="http://stormvisions.com/templates/stormhold/random/svartist_0<?php $random rand(1,3); echo $random?>.jpg" alt="Random Artist" height="151" width="767" />

and call it from my links page

http://stormvisions.com/pages/links/drawing-design.php

to rotate through some headers I created.

The only problem is that since I am no php guy I'll probably have to create unique folders and unique copies of the script for each link page (and later the downloads, tutorials and other pages) I want to use it on. I wanted to suggest a modification of the bookmark module or a code snippet perhaps that would allow adding something like show_menu2 to ease reuse if others think it useful.

If thiis module is slated for upgrade by anyone perhaps they'll take this into account.
Logged

Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!