Jump to content

[SOLVED] Link to image with original resolution


Recommended Posts

Hello,

I tried to make a link beneath thickbox with zoomed picture to a new tab, which would have picture with original resolution(size) as I uploaded it. I successfully edited theme for new text of link, but I am struggling with address of link itself.

 

When I tried to make a thumbnail with same size as the biggest original pictures have, the thumbnails were not generated properly.

 

Therefore, I think the easiest way must be to link to original picture I uploaded? Since Prestashop can generate new thumbnails, I assume that original picture is stored somewhere. How could I address  this original picture effectively? (in best case just editing this:)

$link->getImageLink($product->link_rewrite, $imageIds, 'something')

Thank you very much for help!

Edited by Draq (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...