Working with @2x images
-
Hi there,
I’ve been using a very simple plugin to generate @2x versions of regular thumbnails on upload, for use with Retina.js or something similar on the front end. It doesn’t even use add_image_size, which is nice, because it doesn’t clutter up Manual Image Crop with a bunch of extra tabs.
I did get to thinking, though, what could be done about using something like that in conjunction with your plugin? Not just in my particular case, but for all cases in the near future while we’re still transitioning to Retina/HiDPI displays. Cropping the image leaves the @2x version of the original crop, and regenerating thumbnails destroys any custom cropping anyway. If you add the @2x versions as proper WP image sizes that Manual Image Crop could manipulate, you have double the crops to do, and they could be tricky to get exactly the same.
Any plans for a hook or a way to pass cropping information on that another plugin could use? Maybe look for @2x versions (that could be added through add_image_size) and link them to the originals somehow? Is there a better idea? This seems like a complex issue without an easy solution, so I thought I’d put it out there.
I really like Manual Image Crop, by the way, so keep up the good work! The interface is very well put together, it’s incredibly useful in lots of situations, and it behaves like could be part of core, which is something I think all plugin authors should strive for. Thanks!
- The topic ‘Working with @2x images’ is closed to new replies.