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

How can I place a "back" button on the page that displays expanded images?

Thanx!

Re: [RaisyRoo] Installing Back Button on thumbnail expanded images

By dsn7287 - April 25, 2009

I'm not a 100% sure, but if Ross says the browser's back button works, then try:

<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

Hi there.

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

hiya mate, in that case maybe integrating something like highslide might be a lot better. (Link is http://highslide.com/)

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

Hi

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

Sorry for delay in returning and thanks for all the suggestions. I will give them a whirl and see what sticks.

RaisyRoo

Re: [RaisyRoo] Installing Back Button on thumbnail expanded images

By InHouse - April 29, 2009

Thanks for the link to highslide JS. It's quite impressive. Have just purchased a copy for a more thorough look-see.
Cheers,
J.