hubbobubbo Posted April 12, 2018 Posted April 12, 2018 Hi I am doing some tests with the community theme and I wanted to understand how retina images work. I enabled high res images, regenerated thumbnails and cleared the cache. I have confirmed that all the @2x images are available in the correct folder and that is ok. Then I connected my iPhone 6s to Safari and looked at the images being provided when I entered my TB installation in the browser. Here I would expect that the images in the html would have the @2x extension right? However all images served are the normal size ones, not the retina ones. @mdekker Am I misunderstanding how this is supposed to work? (Prestashop 1.7 with the classic theme behaves the same way). ![alt text]( image url)
hubbobubbo Posted April 12, 2018 Author Posted April 12, 2018 @lesley maybe I am just not understanding how this should work but I am on 1.0.4-RC1 so if the above is not the expected result something is wrong.
MockoB Posted April 12, 2018 Posted April 12, 2018 You understand it quite well @hubbobubbo, It just doesn't work on apple devices, I can't confirm if it works on android ones, because I don't have such...
ssimard Posted April 12, 2018 Posted April 12, 2018 Take a look at my replies in this particular thread: https://forum.thirtybees.com/topic/40/retina-images-please-help Also be aware that the 2x images are not created if you use the csv import and neither are they if you are using the API. You will have to edit the template yourself and for the csv and API import there are fixes I will dig my old thread for you .. Here: https://forum.thirtybees.com/topic/798/retina-images-are-not-created-when-uploading-through-the-webservice This was supposed to be added to the core so i don't know if it has been yet.
MockoB Posted April 13, 2018 Posted April 13, 2018 If it is just for older browsers, I believe it is not the case. I don't think that some of the apple devices use such.
hubbobubbo Posted April 13, 2018 Author Posted April 13, 2018 I tried on both the iPhone and newer Android models with hi-res screens and it never loads the retina images as far as I can see with the default theme.
Beeta Posted April 13, 2018 Posted April 13, 2018 @ssimard said in Is retina images really working: https://forum.thirtybees.com/topic/798/retina-images-are-not-created-when-uploading-through-the-webservice This was supposed to be added to the core so i don’t know if it has been yet. @mdekker @lesley is this being implemented?
hubbobubbo Posted April 13, 2018 Author Posted April 13, 2018 Ok, that is probably a bug but to me that is another topic. I am not using the webservice and the 2x images are generated just fine but it seems they are not used.
MockoB Posted April 13, 2018 Posted April 13, 2018 @hubbobubbo it never worked, so you should implement @ssimard's solution in all your tpl files where you need to have high res images (everywhere I believe)... or you should wait for next release of 1.0.4 and check if the new solution work, if not, you have two options: 1st wait for 1.1.0 which will break compatibility and if you use custom theme or modules, will be never able to use it. Or 2nd - hire developer to make all the needed changes in all files for you, or use another proper solution. And of course if you find another solution you may share it with us :)
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