gambitph / WP-OTF-Regenerate-Thumbnails

Automatically regenerates your thumbnails on the fly when thumbnail sizes change.
https://wordpress.org/plugins/otf-regenerate-thumbnails/
GNU General Public License v2.0
77 stars 16 forks source link

Retina support? #4

Closed chrisspiegl closed 9 years ago

chrisspiegl commented 9 years ago

As far as I see, this plugin will automatically return the size the browser requests. Meaning, if the html states <img width="600" height="300"...> the regenerate plugin will give that size. But what if the user has a retina display? Will it take this into consideration or not?

bfintal commented 9 years ago

Nope, it has nothing to do with html attributes & browser requests. It prior to that, and more geared towards working with WordPress' thumbnail & attachment functions.

For example, normally when you get an image via wp_get_attachment_image_src and specify a width & height, the image you'll get won't be that size since WordPress didn't generate a thumbnail with that size. OTF fixes these kinds of scenarios :)

chrisspiegl commented 9 years ago

Ok, thanks for clarifying.