Installing Back Button on thumbnail expanded images
8 posts by 4 authors in: Forums > CMS Builder
Last Post: April 29, 2009 (RSS)
By RaisyRoo - April 24, 2009
Thanx!
Re: [RaisyRoo] Installing Back Button on thumbnail expanded images
By ross - April 24, 2009
Thanks for posting!
When you click to see a full size image, you are going right to the image itself and not an HTML or PHP page. This basically means you won't be able to put your own back button on it. The browser's back button will still work fine though.
What you'll need to do here is create a new page called imagePage.php or something like that, pass the name of the image to it and then load the image on that page instead.
It can be done using the detail page viewer code.
Does that make sense? Let me know what you think :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [RaisyRoo] Installing Back Button on thumbnail expanded images
By dsn7287 - April 25, 2009
<a href="#" onClick="history.go(-1)">Back</a>
<input type=button value="Back" onClick="history.go(-1)">
Javascript that does pretty much the same thing i reckon...
Like i said, i cant be sure, but trying it wont hurt i guess :))
Re: [dsn7287] Installing Back Button on thumbnail expanded images
By ross - April 27, 2009
The thing with that is when you click on the full size image, it just loads:
something.com/image/myimage.jpg
That isn't a page so you can't actually put code onto it. What I was thinking is we could create a simple page called image.php and tell it which image to load. Then your code would work.
Thanks for jumping in though. If we decide to go forward with the image.php page, your code will defintiely help :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Installing Back Button on thumbnail expanded images
By dsn7287 - April 27, 2009
That way the presentation of th pic looks so much cooler, and the whole need for back buttons, etc are void!
I know its javascript, but its pretty versatile, and passing the image url to it, through php i dont think will be that hard...
Just a suggestion...
Re: [dsn7287] Installing Back Button on thumbnail expanded images
By ross - April 27, 2009
That looks pretty cool actually :). It's very similar to the light box effect. In fact, it might actually be a modified version of that. I am not entirely sure. That is definitely a way to go I hadn't though of :).
I guess we are just waiting for RaisyRoo on this one :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Installing Back Button on thumbnail expanded images
By RaisyRoo - April 29, 2009
RaisyRoo
Re: [RaisyRoo] Installing Back Button on thumbnail expanded images
By InHouse - April 29, 2009
Cheers,
J.