How does the way the -dev version of this module handles retina compare to the way retina.js handles retina images?

Sandbox retina module here: http://drupal.org/sandbox/opi/1643436

Comments

attiks’s picture

I had a quick look, retina creates a new image style for the existing styles, we just multiply screen.width * pixelRatio to detect which suffix to use. I didn't have a look at the retina.js since it's minimized.

In theory we can do something similar, but this will lead to an overload of image styles ;p

Tom Kraft’s picture

Title: Retina.js » Retina.js Module
Project: Responsive images and styles » Retina JS image style
Version: 7.x-1.x-dev »
Component: Documentation » Miscellaneous
Category: support » feature

This module would be very useful now. I'm working on a site that is iPad first and hosts thousands of fine art images. The current D6 site on the iPad looks bad and I've started migrating to D7 which means reprocessing all the images. Be good to do this now for retina. Let me know how I can help. I can correct the English documentation or provide limited financial resources.

opi’s picture

Hi all,
Thanks for your interest in my "Retina JS Image Style" module !

@attiks: you could see retina.js source here: https://github.com/imulus/retinajs/blob/master/src/retina.js

@spacekraft : As I'm not perfect in english, I would appreciate if you can correct the documentation (Project page); Just open a new issue and list every mistake you could fine. Thanks.

Is "feature request" a correct status for this issue ? I don't get the point of it ;)

thanks all, opi.