png mime
-
hi,
some providers may return a png, for example about Blip.tv your test case
https://blip.tv/cranetv/illustrator-katie-scott-6617917
returns a jpg
but this one:
https://blip.tv/unrelated/episode-1-on-the-next-6637862
returns a pngI was struggling trying to understand why the last one works in the debugging textarea but doesn’t work inside a post… until I spotted this (I suppose it’s a typo) on line 210 in video-thumbnails.php
elseif ( $image_extension == ‘image/png’ ) $image_extension = ‘.png’;
changed in
elseif ( $image_type == ‘image/png’ ) $image_extension = ‘.png’;
and it magically works ??
thx
Andrea
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘png mime’ is closed to new replies.