Tagged: retina images
circleflip causes 404 errors with retina imagesViewing 10 posts - 1 through 10 (of 10 total)
March 17, 2016 at 10:03 am #7883
Hello support, i have another issue. I’ve installed the plugin WP Statistics. Here I have seen dozens of 404 errors under the page impressions, because there is a call to a retina image of every image I have uploaded. The filename is like “email@example.com” (this should be retina images I think), but I have not uploaded files named “..@2x…”?????
Can you imagine what goes on here? Thank you.March 17, 2016 at 11:37 am #7887
Kindly send me a link of a page where any image of those should be rendered. I need to check what’s wrong but I can’t locate the pages associated.
Thanks a lotMarch 17, 2016 at 2:09 pm #7891
Hello Amr, I have not uploaded an image with “@2x” in its filename. So this images shouldn’t have a call at all, I think.
Heres’ an example:
According to WP Statistics this image had 80 impressions already:
I haven’t uploaded this image, so I have 80 404 Errors.
But every other image I have uploaded causes the same errors.
Even this file http://internet.punktsicht.de/webdev/wp-content/themes/punktsicht/style.php?is_rtl=0&ver=4.4.2
has 255(!) 404 Erros – I don’t know why…
I’m very sorry to cause so much trouble.March 17, 2016 at 2:43 pm #7894
No need to apologize Michael, It’s our duty to help 🙂
The weird thing is that on this page console, there is no 404 errors. Do you know how this plugin gets those errors from? I can’t see where this error is rendered!March 17, 2016 at 6:11 pm #7896
Hi, the error 404 occurs with a retina device who visits the site. This depends on the http://internet.punktsicht.de/webdev/wp-content/themes/punktsicht/js/retina-1.1.0.js?ver=2.2.8 library you use in your theme, which is searching for retina images.
Here’s what I have found:
Adding “return callback(true)” after line 92 in the retina…..js file will remove the 404 error but even won’t search for retina images.
Now there’s still the question, why http://internet.punktsicht.de/webdev/wp-content/themes/punktsicht/style.php?is_rtl=0&ver=4.4.2 throws errors on every pageload.March 17, 2016 at 6:14 pm #7897
I think the best solution would be, to save a additional retina ..@2x.. image when uploading an image. Perhaps you can consider to extend the theme this way.March 19, 2016 at 3:36 pm #7908
Thanks Michael for finding a quick solution for this 🙂 You should be awarded for this 😀
I will also create an issue for the dev. team with this behavior and we’ll do our best to roll it into an upcoming update.
Thanks again Michael.
The topic ‘circleflip causes 404 errors with retina images’ is closed to new replies.