Reputation: 2434
I am currently developing an iPad/tablet optimized template of OpenCart.
I have stumbled upon a problem here, all images I am wanting to use are all cached and resized images, and on the iPad template I want the original resolution images to be displayed, especially the main image.
Is there a way I can get the template to show the original uploaded images instead of the resized images? If someone can point me into the right direction I will develop a vqMod for it (as I still want to use the resuzed images for the main website)!
Many thanks Peter
Upvotes: 1
Views: 4738
Reputation: 15151
The way you will need to do it is to use either HTTP_IMAGE or HTTPS_IMAGE depending on the ssl status. For the main image, it's pretty simple, you basically need to use
<?php echo HTTP_IMAGE . $product_info['image']; ?>
Upvotes: 1