Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Simple module that provides a double-sized image when using a HighPixelDensity display (a.k.a. Apple Retina Screen)
Use RetinaJS (http://retinajs.com/) with drupal core image style. Download, enable, et voila!
For every domain.com/FILENAME.jpg, RetinaJS script looks for domain.com/FILENAME@2x.jpg image.
Url like domain.com/STYLE_NAME/FILENAME@2x.jpg will be handled by image module to provide a double-sized image, according to STYLE_NAME preset. Only affect 'scale', 'scale_and_crop' , and 'crop' effects.
By adding a single line in your .htaccess file, you can avoid the drupal bootstrap when serving double-size image. (See README.txt)
Can I help ?
// Better description, documentation & README.txt file to come. If you like this module, and are fluent in english, feel free to help me with wording
// I really need feedback before promoting this sandbox to a full-project. Please test it and fill issues.
// I need someone to correct my english ;) Contact me or fill an issue
Demo
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Content display, Media
- Created by opi on , updated
