Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM images and css have text/html content type
#4
Actually just tried editing the header in the above image function.

if i change the function to set the image header to 'header('Content-Type: image/gif');' the image shows in a browser, but wget reports headers as text/html

if i change the function to set the image header to 'header('Content-Type: text/css');'  a browser shows the raw image data, but wget reports headers as text/html

so a browser is seeing the change in header, but wget is not. so it may be something to do with how tumblr checks the remote image type. or it may just be my site...
Reply


Messages In This Thread
RE: images and css have text/html content type - by d2a - 2017-04-05, 23:05:23



Users browsing this thread: 1 Guest(s)