Post by sultanchannel » Mon Jan 07, 2013 11:39 pm

Hello everybody!!

Does anybody know how can I zoom an image that I inserted in description field on product page? On default when we insert images field for product description there is a Image Properties and on Link Tab we can choose _blank, _self, _top, _parent targets. And in that way it will open full sized image in new window.
I would like to stay on same page and same time see original sized zoomed image (like fancy box). More specifically I want the same effect for images_in_description_field as for normal images on product page.
Is there any way to use existing js for my purpose? If not please could you recommend me a way?
Opencart 1.5.4.1

thanks in advance, Sultan

Newbie

Posts

Joined
Mon Jan 07, 2013 11:17 pm

Post by sultanchannel » Wed Jan 09, 2013 10:34 pm

The solution below:
We should insert an image in description field and then double click on it. "Link" window will open, choose Advanced Tab, in "Stylesheet Classes" we are writing: "colorbox".
In "Relationship" box write "colorbox" again if you want to display this your image in same group with product's images and sth different if not. Also you can divide your images in description field on several groups by manipulation "Relationship" values.

thanks to JohnnyVega from http://opencartforum.ru who provided me this solution.

Newbie

Posts

Joined
Mon Jan 07, 2013 11:17 pm
Who is online

Users browsing this forum: No registered users and 297 guests