Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 03:12:24 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Bookmarks Mod Suggestion - Random Image Header  (Read 368 times)
bupaje

Offline Offline

Posts: 519


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

My Blog, My Site
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!