AlphaPete Posted August 18, 2011 Posted August 18, 2011 I know I posted about this before, and I thought it was fixed; my problems were not evident when I closed the previous thread as solved. However, I am still having the issues I was having before: I cannot upload images to either my main domain or my addon domain. Regardless of how I upload them to the server, i.e. via FTP through Windows Explorer, Filezilla, or the CPanel, the files always show up on the server as type "text/generic". I did try downloading an image from the server (that I had previously uploaded, and it was designated the text/x-generic type), and it shows as a normal jpeg on my computer. username: fearles server: stevie domain: alphapete.com Any and all help will be greatly appreciated! Thank you in advance.
Guest xaav Posted August 19, 2011 Posted August 19, 2011 Stevie is down right now, so I can't help you.
Krydos Posted August 20, 2011 Posted August 20, 2011 Stevie is back online and fully functional now. Are you still having this problem?
AlphaPete Posted August 21, 2011 Author Posted August 21, 2011 I just tried uploading another image to my main images folder, alphapete.com/images/header2.jpg In the CPanel, it still shows up as text/x-generic, and I cannot view the image if I point my browser to it.
Krydos Posted August 21, 2011 Posted August 21, 2011 Oh that's interesting. It seems any of the images you upload with lowercase extensions work and any you upload with all caps extensions don't work. Check out http://alphapete.com/images/ This works http://alphapete.com/images/moon.jpg But this doesn't http://alphapete.com/images/header2.JPG and gives this error header2.JPG:-1Resource interpreted as Document but transferred with MIME type image/jpeg. Easy fix is to just rename your files with a lowercase .jpg extension before you upload them. On a lot of windows and dos environments caps or lower names are interchangeable, but on most *nix environments caps and lower are interpreted differently.
Piotr GRD Posted August 21, 2011 Posted August 21, 2011 Hmmm... For me it shows just fine. "Content-Type: image/jpeg" alphapete.com/images/header2.JPG HTTP/1.1 200 OK Date: Sun, 21 Aug 2011 16:32:29 GMT Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Last-Modified: Sun, 21 Aug 2011 16:16:19 GMT ETag: "205402e-2f1-4ab0649ca70c0" Accept-Ranges: bytes Content-Length: 753 Content-Type: image/jpeg alphapete.com/images/moon.jpg HTTP/1.1 200 OK Date: Sun, 21 Aug 2011 16:33:20 GMT Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Last-Modified: Fri, 29 Jul 2011 21:03:31 GMT ETag: "2054113-725a-4a93b9e8c44c0" Accept-Ranges: bytes Content-Length: 29274 Content-Type: image/jpeg alphapete.com/images/sunset-rays-8-3-2011.jpg HTTP/1.1 200 OK Date: Sun, 21 Aug 2011 16:37:12 GMT Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Last-Modified: Thu, 04 Aug 2011 16:58:33 GMT ETag: "2054655-114cc-4a9b0e586d640" Accept-Ranges: bytes Content-Length: 70860 Content-Type: image/jpeg
Krydos Posted August 21, 2011 Posted August 21, 2011 Hmmm... For me it shows just fine. "Content-Type: image/jpeg" Does it show up correctly in your browser when you try to view it though? Maybe it's browser specific error?
Piotr GRD Posted August 21, 2011 Posted August 21, 2011 Yes, it shows up correctly as the image in Fx3.0 and IE6. (don't comment on IE6, please, it just sits as default on XP, I don't really use IE - any version - so no need to upgrade)
Krydos Posted August 21, 2011 Posted August 21, 2011 Yeah, it shows up correctly in all of my browsers too I guess. It's just 1 pixel wide and I didn't notice it at first. I tried uploading .jpg and .JPG images to my own stevie account and I can't get the type to be set to text/x-generic that way. I guess it was just a coincidence. So much for that theory.
AlphaPete Posted August 22, 2011 Author Posted August 22, 2011 I tried changing the extension from .JPG to .jpg, and it worked. A curiosity, no doubt, but I'll keep this in mind from now on. Thanks everyone for your help again! -AlphaPete
Krydos Posted August 22, 2011 Posted August 22, 2011 Sometimes my crazy theories pan out... I'm not going to question it; just going to chalk it up as a win.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now