KenFranklin Posted February 6, 2015 Share Posted February 6, 2015 (edited) How to add and work with retina-image in *.tpl (how to register) filel and how to upload in Back-Office? Edited February 6, 2015 by workstyling (see edit history) Link to comment Share on other sites More sharing options...
mikewra Posted February 6, 2015 Share Posted February 6, 2015 Interesting question. Made me think of how I could use that in future projects so I spent a little time looking into it. I haven't used this but, it appears that it's a simple solution. Short story, using Retina Images you add a couple lines to htaccess, plop a php file in the home directory and then "For every image that you would like to have served at high-res, create an image at twice the size and save it with @2x at the end of the filename (before the file extension)" Don't know for sure, but I'd guess you'd have to upload the high-res img via ftp and not through the back office. Hopefully there isn't a conflict between his htaccess rewrite and the prestashop rewrite. See: http://retina-images.complexcompulsions.com/ and the GitHub https://github.com/Retina-Images/Retina-Images/ Link to comment Share on other sites More sharing options...
razaro Posted February 6, 2015 Share Posted February 6, 2015 You could check this paid module https://www.prestashop.com/forums/topic/238033-module-retina-images/ Link to comment Share on other sites More sharing options...
mikewra Posted February 7, 2015 Share Posted February 7, 2015 Just to update, I tried to use Retina Image but was unable to overcome a conflict between the .htaccess lines required by Retina Image and Prestashop's own htaccess file. Resulted in Server Error 500. I then tried to obtain the module suggested by @razaro, but following the link at https://www.prestashop.com/forums/topic/238033-module-retina-images/ to http://www.treetheme.com/ got me a server not found error. Don't know if treetheme is down for good or just temporarily. As they say, the search goes on... Link to comment Share on other sites More sharing options...
cocothecat Posted February 7, 2015 Share Posted February 7, 2015 There was a DNS conflict on tree theme its back! sorry about that - more modules and updates coming soon! 1 Link to comment Share on other sites More sharing options...
mikewra Posted February 7, 2015 Share Posted February 7, 2015 Was just about ready to give a try to use retina.js and then saw the above. Purchased it and it works nicely and so easily. None of the extra steps to uploading that would've been involved in the other options. Gotta download all three options because the install/use guide is only in the first file, not the updated or 1.6 version. Thanks to @cocothecat for such a useful, but incredibly inexpensive, module. Link to comment Share on other sites More sharing options...
KenFranklin Posted February 9, 2015 Author Share Posted February 9, 2015 On 2/6/2015 at 6:23 PM, razaro said: You could check this paid module https://www.prestashop.com/forums/topic/238033-module-retina-images/ is it free or commercial license? 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