Questions tagged [retina]

The tag has no usage guidance.

0
votes
0answers
9 views

How can I hook to the thumbnail creation function and create an additional image in other folder?

I need to create the "retina" image with 2x width of each existing image in the folder "uploads" to the folder uploads/scaled. like this: image_resize( string $file, int $max_w, int $max_h, bool $...
1
vote
0answers
48 views

How generate 200% image size and save with suffix @2x

I need to know is it possible to generate 200%,200% image size and save with suffix @2x simply in WordPress? want to enable a simple retina ready theme.
1
vote
1answer
497 views

Using SRCSET with Images and Featured Images

I have been trying to get SRCSET to load in images for different device sizes. My understanding is that when the device width or window width changes, that SRCSET will ONLY load the URL of the ...
1
vote
1answer
819 views

Retina JS not working

I intend to develop a Retina ready theme. I uploaded retina.min.js on my theme folder: http://riehling.mrcoolblog.com/wp-content/themes/riehling/js/retina.min.js In my functions.php, I've added the ...
1
vote
0answers
50 views

Intersept image upload and generate retina image from source

My goal is to make a retina and non-retina image when user uploads a photo. This is doable like so: add_action('init', function() { // Get the original image sizes and duplicate $thumb_w = ...
0
votes
1answer
971 views

Add retina “2x” in attribute “srcset”

I need to add the "2x" to the url attribute srcset in wordpress 4.4.2. Maybe you can do so using a function in the functions.php file?
0
votes
1answer
47 views

Get Two Sizes of Header Image

My theme uses header_image(); function to echo out a header image <img src="..."> it is set to 200x50px with add_theme_support(...); - all good here. My problem comes when I want to get the url ...
-2
votes
1answer
42 views

Retina quality screenshots?

I need to be able to insert screenshots (mostly cropped sections of web pages, not whole pages) into my WordPress site for instructional purposes. I have discovered the Awesome Screenshot app for ...
5
votes
2answers
343 views

Create image formats with different qualities when uploading

I'm trying to come up with a solution where the generated image formats cover both responsive and high-resolution aspects when uploading a new item in the WP admin. I've put together a set of formats ...
3
votes
1answer
130 views

Confused about image sizing business in Wordpress

I'm creating my first Wordpress theme and I've got everything working fine, and by following this tutorial and few others I've understood how to add custom image sizes by using add_image_size() ...
0
votes
0answers
169 views

Retina for Wordpress Posts

I was checking one of the answers here, and it says: Just create the copies of images with double size using wordpress native media settings. And then add the following code in your templates. ...