Link to home
Start Free TrialLog in
Avatar of Graeme McGilvray
Graeme McGilvrayFlag for Australia

asked on

Click and Enlarge Image in New window?

Hi there, I have been looking for some code to use with click and enlarge of images, however...

All the code I have found opens a new window (of the browser) which the user would have to click to close...

I have prob the wrong wording, and do not know the correct.

What I am looking for is the image is enlarged over the top of it (not within the page itself)

a good example is:
https://www.gootickets.com/en/7-formula-1/10801-azerbaijan/?affid=3672&pgs=91

another good example is when you click the link button above

Is anyone able to help me find the right code or suggest where I can find it?
Avatar of hielo
hielo
Flag of Wallis and Futuna image

You can easily achieve that effect by means of  a plugin -- http://lokeshdhakar.com/projects/lightbox2/
Avatar of Graeme McGilvray

ASKER

Hi hielo, my site is custom built, plugins wont fit in with it
>> my site is custom built
Most of the sites I've worked on have been custom built and have always managed to integrate plugins easily precisely because they are custom built.

I would expect you to have full control on a custom built site so that you can link/import whatever css/javascript files are needed by the plugin and augment the markup as needed.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.