- This topic has 3 replies, 2 voices, and was last updated 6 years ago by Tom.
November 17, 2017 at 7:12 pm #427203jbpyn
I’m probably doing something horribly wrong here. But, my optimized images looked awful on retina screens. So I installed this plugin https://wordpress.org/plugins/wp-retina-2x/
It works great for everything except the featured images. I have contacted the plugin developer too,he may know something of course. If you have any suggestions I would be grateful.
I have disabled the featured images on my site for the meantime, they looked too horrible.
Thanks againNovember 17, 2017 at 9:24 pm #427240TomLead DeveloperLead Developer
Any chance you can add the images back, or create a staging site and add them to that? Super hard to see what’s going on without actually seeing the images.
Thanks! 🙂November 21, 2017 at 4:06 pm #430263jbpyn
Yeah, that’s fair enough Tom. I think the problem has a bit to do with my misunderstanding. You probably know this, but I believe the way the plugin works is you upload an image twice the size of the one you intend to use. It then auto generates an @2x version of that image to be called on retina screens. So far so good. For images inside posts it works a treat.
The problem with the featured image is you can’t choose the size in the same way as images inside a post. Most of my images are max 600px wide, so I upload a 1200px image, and select the appropriate size in the visual editor. With the featured image, I figured I just need to set the image to 600px in the blog settings? Unfortunately, it doesn’t seem to resize the image, it crops it instead. Then, if I resize the image with the image editor, it just presents the resized image and not the retina version.
Something weird was happening to the logo too. When the plugin tried to call the alternate image it would through up a black box saying imaged forced to wrong size.
But as you say, this is not all that helpful while you can’t see it for yourself. Putting the images back on the production site is not an option at the moment, so I’m going to load my staging site on my server for you. I just have to work out how to keep it safe from being indexed etc, this is all new to me. Most people seem to use .htaccess, but I’m running the site on Nginx (using easyengine). It’s all witchcraft to me, so I’ll go away and work out the correct incantations for the server and get back to you when its up.
Thanks againNovember 22, 2017 at 10:01 pm #431223TomLead DeveloperLead Developer
I would think that plugin would have support for featured images anyways? I haven’t had time to test to know for sure.
GP 2.0, which will be available for testing soon, has a retina logo option. Of course, this won’t help for the rest of your site.
- You must be logged in to reply to this topic.