Jump to content

Images show up as type "text/x-generic"


AlphaPete

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. :wacko:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...