RE: Based on your information, the images are not corrupt: when saved with a file extension, they are served up just fine in your browser.
? "the images are not corrupt when saved with a file extension"
They are all saved with a file extension by your software.
They are mapped to without a file extension using your URL syntax/mapping
?page=gf_signature&signature=505ce775727075.18683655
Using "traditional" URL mapping the same image will present
/wp-content/uploads/gravity_forms/signatures/505ce775727075.18683655.png
---------------------------------------------
RE: A web server should be able to serve image files fine without an extension. However, it does not appear your server is doing that (same file, one with a png extension, one without, the one with the extension is served fine, the one without the extension is not.)
Since everything is fine if the WP-Minify addon is disabled then it is not an issue with the server.
---------------------------------------------
RE: Because this is working everywhere else I've tried it, I have to conclude it's something about your server or your WordPress installation. My experience diverged from yours at some point: I keep getting an error about the png file being corrupt. You are not.
Since everything is fine if the WP-Minify addon is disabled then it is not an issue with the server.
I am not experiencing anything different from you. If I use the ?page=gf_signature&signature= URL then I get the same ERROR in Firefox.
---------------------------------------------
RE: If you did not have that experience, I would suggest that there is still something on your server which is corrupting the PNG when it is being written
The PNG is only being "written" once, not every time it's linked to. Since I have downloaded the images and done a visual confirmation that they are fine this assumption is not valid. Go to the link below. Can you see the image? I can.
http://www.dc-acupuncture.com/wp-content/uploads/gravity_forms/signatures/505ce775727075.18683655.png
---------------------------------------------
RE: But, you are able to load the images fine, at least in browsers other than Firefox, when you add a png extension.
This is NOT a browser issue. Its the URL mapping
using the link below you get an error message
http://www.dc-acupuncture.com?page=gf_signature&signature=505ce775727075.18683655
Using "traditional" URL mapping the same image will present
http://www.dc-acupuncture.com/wp-content/uploads/gravity_forms/signatures/505ce775727075.18683655.png
---------------------------------------------
RE: However, the fact that image is served with a "Content-Type: image/png" when called without an extension still leads me to believe the images are corrupt, as reported by Firefox, and image editors I have tried.
The image isn't the problem, the problem is related to how it's being requested.
Thank you for sticking with me
Jules
Posted 12 years ago on Tuesday October 16, 2012 |
Permalink