With regards to hiDPI image conversion...
Is retina.js a tool that should be employed for handling hiDPI images for retina display? Would you recommend it?
regular:
<img src="/images/my_image.png" />
script checks for alternative and will pull in on retina displays:
"/images/my_image@2x.png"
Another tutorial I found online said to keep the 72dpi, and going forward, double the width of the image size (the height to follow suit to constrain proportions). Then use more compression techniques in your 'save/export for web'. Tutorial noted your large image might wind up being less kb than original size you had previously.
Apply global CSS:
portfolio-pics img {
max-width: 100%;
height: auto;
} ... and if you cannot do this, to make note in the image tag, width="700" as to the actual size needed on the page.
Which of these techniques would you be more comfortable / trusting of to take care of this ever-evolving era in screen displays?
I am curious as to your thoughts on these solutions; not interested in using the <picture> tag.
...I did experiment with the second option mentioned for a blog site, and it did work out nicely. In that test, I used a single 72 dpi image 'doubled up in dimensions'... then just cited the dimensions desired on the page to down-size/down-scale.
Thank you.
