maximusimo Posted July 18, 2012 Share Posted July 18, 2012 Hi there, I have a CMS page where I want, when clicked, an image to appear larger in thickbox much like it does in the product pages when you click 'View Full Size'. Is this possible and easily implemented? I have tried just putting class="thickbox" in the image desc but doesnt work, like this: <img class="thickbox" style="vertical-align: middle;" src="http://u.r.l/image.png" alt="Image Desc" width="535" height="273" /> Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2012 Share Posted July 18, 2012 (edited) Try adding HTML like this <a href="http://www.url.com/larg-image.jpg" rel="other-views" class="thickbox " title="Add titler"> <img id="thumb_1" src="http://www.url.com/thumb-image.jpg" alt="Add alt tag" height="60" width="60" /> If you do not have a seperate thumbnail image you can re-use the main one, it will get resized. Edited July 18, 2012 by Guest (see edit history) Link to comment Share on other sites More sharing options...
maximusimo Posted July 19, 2012 Author Share Posted July 19, 2012 Hi jimbola, I did exactly as you stated but when I click on the image it just opens the image in a regular way, not in thickbox. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now