Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries 
Thread started 14 Mar 2007 (Wednesday) 14:33
Search threadPrev/next
sponsored links (only for non-logged)

how to do this: adding an image then go to index

 
azpix
Goldmember
Avatar
3,335 posts
Likes: 19
Joined Oct 2006
Location: Chandler, Arizona USA
     
Mar 14, 2007 14:33 |  #1

I saw this on www. marktucker.com
when you go to the url, an image comes up for about 10 seconds then takes you to his index page.

Anyone know how this is done?

thanks


Gear- 7d, 24-70L, sigma 70-200, Sigma 120-400, canon 50 1.4, Canon 100 2.0,sigma 10-20 and a DJI Mavic Pro Drone

  
  LOG IN TO REPLY
CrazyPuma
Member
84 posts
Joined Jun 2005
     
Mar 14, 2007 18:20 |  #2

If you View Source on that front page, it looks like he's using a meta tag to initiate a sort of redirect command ("refresh").


Canon EOS 20D / EF100mm F2.8 USM Macro / +the kit lens that I now feel like throwing away.
Technically challenged, cheap, and lazy ...http://photos.crimsonk​eep.com/ (external link)

  
  LOG IN TO REPLY
IIIMik3
Senior Member
Avatar
397 posts
Likes: 1
Joined Jun 2003
     
Mar 14, 2007 22:56 |  #3

Actually, all they did was they made the image a link. The page w/ the image is the index.html file, the page it goes to when you click the link/picture is index2.html.

So all you would do is change your main content page to index2.html, then create an index.html file w/ this in the code:

<a href="index2.html"><img src="whatever.jpg"></a>

Replacing the "whatever" as fit.


Model Mayhem Profile (external link)
www.charlesmichaelphot​ography.com (external link)

  
  LOG IN TO REPLY
CrazyPuma
Member
84 posts
Joined Jun 2005
     
Mar 14, 2007 23:57 |  #4

Yes, there's an image link, but the page switches even if you don't click the image; just wait 10 seconds or so.

I would assume he made the image a link in case someone was using a browser/had setting where the auto-switch failed.


Canon EOS 20D / EF100mm F2.8 USM Macro / +the kit lens that I now feel like throwing away.
Technically challenged, cheap, and lazy ...http://photos.crimsonk​eep.com/ (external link)

  
  LOG IN TO REPLY
azpix
THREAD ­ STARTER
Goldmember
Avatar
3,335 posts
Likes: 19
Joined Oct 2006
Location: Chandler, Arizona USA
     
Mar 15, 2007 14:50 |  #5

thanks all.

I see that link and think I can pull that off. Now I'm trying to fgure out how he did the auto switch after the delay.

Would that be the jave script i see in his source code?

Thanks,


Gear- 7d, 24-70L, sigma 70-200, Sigma 120-400, canon 50 1.4, Canon 100 2.0,sigma 10-20 and a DJI Mavic Pro Drone

  
  LOG IN TO REPLY
CrazyPuma
Member
84 posts
Joined Jun 2005
     
Mar 15, 2007 15:41 |  #6

No, it's just the meta tag that's inserted between the "head" tags. I inserted one into a quick and dirty test page (external link) and set it for 5 seconds and it seems to work fine.

so you want

 <meta http-equiv="Refresh" content="5; URL=http://your-domain-name/your-redirected-page-location.html">

The number after "content" defines how many seconds you want the delay to be.
It's not done with a single html file - you have to make two, and insert the meta tag on the first page, not the one that shows up after the delay.

Canon EOS 20D / EF100mm F2.8 USM Macro / +the kit lens that I now feel like throwing away.
Technically challenged, cheap, and lazy ...http://photos.crimsonk​eep.com/ (external link)

  
  LOG IN TO REPLY
IIIMik3
Senior Member
Avatar
397 posts
Likes: 1
Joined Jun 2003
     
Mar 15, 2007 17:22 |  #7

ah, i guess i was too impatient to wait :)


Model Mayhem Profile (external link)
www.charlesmichaelphot​ography.com (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

1,287 views & 0 likes for this thread, 3 members have posted to it.
how to do this: adding an image then go to index
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Thunderstream
1863 guests, 100 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.