DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> General Discussion >> HTML coding question..
Pages:  
Showing posts 1 - 13 of 13, (reverse)
AuthorThread
05/19/2009 03:35:53 AM · #1
OK, I am not an coder by by any stretch of the imagination - my website is all written using Dreamweaver - but what I would like to do is find a way of changing an image on my website every time the page is reloaded. If you take a quick look at my website HERE its the large picture on the lefthand side I want to change everytime someone visits the site. Any ideas how this could be achieved bearing in mind I can't hand-code at all.

Thanks!
05/19/2009 04:01:38 AM · #2
u need to use php
05/19/2009 04:03:03 AM · #3
Originally posted by crayon:

u need to use php


Thats great!

Now if we could expand on that a teeny bit that woudl be even better!

Thanks!

;)
05/19/2009 04:25:20 AM · #4
i was just trying to help by pointing you to what you need :p
perhaps you can see if any of these works for you?

(look at the "Free PHP Photo Albums and Photo Galleries section")
//www.thefreecountry.com/php/photo-galleries.shtml

Message edited by author 2009-05-19 04:26:39.
05/19/2009 04:36:42 AM · #5
Hi, Assuming that you just want to reload a different random image (from a selection) each time the page is refreshed, regardless of who the visitor is you could probably make do with a simple piece of javascript and some fiddling!

I used something similar to this on commerce website I used to have, it worked fine. If you need anything more complex you might need somthing that uses a gallery based on php or similar.

Javascript Random Image

I'm no techy either but this worked for me fine! Good luck.

Paul

Message edited by author 2009-05-19 04:37:32.
05/19/2009 04:48:44 AM · #6
Yup, javascript seems to work lovely.. thanks guys - now to try and tidy up the HTML best I can.. its all a bit messy.
05/19/2009 05:22:28 AM · #7
I clicked the link in your first post Mark and there is no random image on the left, just a clear gif.

edited to add, IE6 at work

Message edited by author 2009-05-19 05:23:02.
05/19/2009 07:08:57 AM · #8
Blank here as well. Firefox 3.0.10.

05/19/2009 07:39:06 AM · #9
Blank for IE8
05/19/2009 07:59:52 AM · #10
Blank here for Firefox and redheads!
05/19/2009 08:32:44 AM · #11
Seemed to be working before I went out this morning - just tried a quick fix using a combination of command prompt & notepad.. seems OK now. Thanks for the heads up!
05/19/2009 08:40:39 AM · #12
Originally posted by Simms:

Seemed to be working before I went out this morning - just tried a quick fix using a combination of command prompt & notepad.. seems OK now. Thanks for the heads up!


The redhead can see again....oooh I feel like a blonde....everytime I click refresh I see something new!!!! Hehehehe!
05/19/2009 09:05:29 AM · #13
Originally posted by Judi:

Originally posted by Simms:

Seemed to be working before I went out this morning - just tried a quick fix using a combination of command prompt & notepad.. seems OK now. Thanks for the heads up!


The redhead can see again....oooh I feel like a blonde....everytime I click refresh I see something new!!!! Hehehehe!


Thnx J. Now to add more photos.
Pages:  
Current Server Time: 03/29/2024 03:39:14 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Prints! - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2024 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 03/29/2024 03:39:14 AM EDT.