2017-04-05, 23:05:23
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...
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...