{"id":239,"date":"2003-09-03T00:00:00","date_gmt":"2003-09-02T22:00:00","guid":{"rendered":"https:\/\/wwwneu.strehle.de\/tim\/weblog\/archives\/2003\/09\/03\/172\/"},"modified":"2003-09-03T00:00:00","modified_gmt":"2003-09-02T22:00:00","slug":"172","status":"publish","type":"post","link":"https:\/\/www.strehle.de\/tim\/weblog\/archives\/2003\/09\/03\/172\/","title":{"rendered":"Internet Explorer XMP JPEG display bug"},"content":{"rendered":"<p>Finally, someone else realises that there&#8217;s a nasty bug in Microsoft IE related to <a href=\"http:\/\/www.adobe.com\/products\/xmp\/main.html\" title=\"Adobe XMP\">Adobe XMP<\/a> as written by Photoshop 7. <a href=\"http:\/\/stevenf.com\/mt\/archives\/000135.php\" title=\"~stevenf: Hijack\">Steven Frank<\/a> writes:<\/p>\n<p>&#8222;Windows versions of Internet Explorer, mostly 5.5 and 6.0 get thoroughly confused by a file that identifies itself as .jpg but contains XML. When you try to load one of these inflated images with Win IE 5 or 6, it spins endlessly, trying to figure out what to do. From that point on, you have completely lost your ability to view images in that browser session. Even if you go to another site. All graphics loading will spin endlessly from that point on. Only completely quitting and relaunching Win IE fixes the problem.&#8220;<\/p>\n<p>Marc Pawliger from the Photoshop Team comments on this:<\/p>\n<p>&#8222;Microsoft and Adobe worked together to identify the problems Windows Explorer had with JPEG files that contained application-specified data. This problem appeared not only for JPEG but TIFF files as well. The latest XP service pack fixes the known issues related to Windows Explorer and these files, include some bugs that can corrupt such files and make then unreadable at all if you use Windows Explorer to edit the metadata in the file.<\/p>\n<p>Note this appears to be a different issue than the one you are reporting about Internet Explorer being unable to display such files.&#8220;<\/p>\n<p>Steven has a <a href=\"http:\/\/www.panic.com\/~stevenf\/mt\/archives\/000140.php\" title=\"~stevenf: Redux\">follow-up post<\/a>, where he describes the <a href=\"http:\/\/www.imagemagick.org\/\" title=\"ImageMagick - Convert, Edit, and Compose Images\">ImageMagick<\/a> &#8218;+profile&#8216; option. He suggests using &#8218;+profile iptc&#8216;, we&#8217;re using &#8218;+profile &#8222;*&#8220;&#8218;. Unfortunately, &#8218;+profile&#8216; requires a recent version of ImageMagick (so older servers require a software upgrade to be able to do the cleanup).<\/p>\n<p>Update: Peder suggests using <a href=\"http:\/\/www.rt.com\/man\/jpegtran.1.html\" title=\"Unix man pages: jpegtran (1)\">jpegtran<\/a> to fix XMP-infected JPEG images, because it&#8217;s fast and lossless. Simply run &#8222;jpegtran -copy none infected.jpg &gt; clean.jpg&#8220;. (jpegtran is part of the jpegsrc package which you can download at the <a href=\"http:\/\/www.ijg.org\/files\/\">Independent JPEG Group<\/a>, or get it from <a href=\"http:\/\/jpegclub.org\/\" title=\"Guido's Tech' Corner\">jpegclub.org<\/a>.)<\/p>\n<p>Another update: Microsoft finally seems to be fixing this bug, there&#8217;s a <a href=\"http:\/\/support.microsoft.com\/default.aspx?kbid=817177\" title=\"Microsoft Knowledge Base Article - 817177: Image Files Do Not Appear When You View a Web Page with Internet Explorer 6 SP1\">Knowledge Base article<\/a> pointing to a &#8222;hotfix&#8220; for IE 6 SP1: &#8222;SYMPTOMS: When you use Internet Explorer 6 Service Pack 1 (SP1) to view a Web page that contains image files, you may experience the following behavior: Some of the images do not appear on the Web page. Internet Explorer may no longer display images until you restart the program. CAUSE: This problem may occur if you view a Web page that references an image that was saved from Adobe Photoshop 7.0 on Macintosh OS 10.&#8220;<\/p>\n<p>Update: Here&#8217;s <a href=\"http:\/\/www.macosxhints.com\/article.php?story=20030805171416880\" title=\"macosxhints - Use mogrify to modify images on a web server\">some more victims<\/a> of the IE bug, and photo.net has a <a href=\"http:\/\/www.photo.net\/bboard\/q-and-a-fetch-msg?msg_id=003j8d\" title=\"Browser Problems Caused by Photoshop 7 JPEG images\">long-running thread<\/a> on the issue.<\/p>\n<p>Update [2006-10-11]: If you&#8217;re running a recent ImageMagick 6 version, use &#8218;-strip&#8216; or &#8218;+profile xmp&#8216; instead of &#8218;+profile &#8222;*&#8220;&#8218;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally, someone else realises that there&#8217;s a nasty bug in Microsoft IE related to Adobe XMP as written by Photoshop 7. Steven Frank writes: &#8222;Windows versions of Internet Explorer, mostly 5.5 and 6.0 get thoroughly confused by a file that identifies itself as .jpg but contains XML. When you try to load one of these [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[1],"tags":[],"class_list":["post-239","post","type-post","status-publish","format-standard","hentry","category-weblog"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":0,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/239\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/categories?post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/tags?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}