Bugzilla – Bug 3850
Some cover art is not resized for gallery view thumbnails
Last modified: 2008-09-15 14:39:24 UTC
Some cover art is not resized for the gallery views. I can't detect a predictable pattern, but all but one of my problem files have a width or height of 500px. SlimServer Version: 6.5b1 - 8741 - Windows XP - EN - cp1252
Created attachment 1387 [details] Screenshot Screenshot of Firefox; IE has same problem
if they are BMP format, this is not supported. see bug 3781
also note that bug 371 already notes several debugging tests that you could look into for finding more specific information on this problem.
(In reply to comment #2) > if they are BMP format, this is not supported. see bug 3781 > all JPG.
(In reply to comment #3) > also note that bug 371 already notes several debugging tests that you could > look into for finding more specific information on this problem. > Will look into bug 3781 & report. Thanks for your help.
Created attachment 1390 [details] problem folder.jpg IMG properties in Album Gallery: http://localhost:9000/music/4/thumb_100x100_f_000000.jpg (displayed as 500x500 as in screenshot)
(In reply to comment #3) > also note that bug 371 already notes several debugging tests that you could > look into for finding more specific information on this problem. > --d_graphics --d_artwork log: see 2006-07-31 18:55:52.1348 GD wouldn't create image object 2006-07-31 18:54:47.7618 fontfile entry: full.2.font.bmp 2006-07-31 18:54:47.7626 fontfile entry: high.2.font.bmp 2006-07-31 18:54:47.7631 fontfile entry: huge.2.font.bmp 2006-07-31 18:54:47.7635 fontfile entry: large.2.font.bmp 2006-07-31 18:54:47.7640 fontfile entry: light.1.font.bmp 2006-07-31 18:54:47.7644 fontfile entry: light.2.font.bmp 2006-07-31 18:54:47.7649 fontfile entry: logo.font.bmp 2006-07-31 18:54:47.7654 fontfile entry: medium.1.font.bmp 2006-07-31 18:54:47.7659 fontfile entry: medium.2.font.bmp 2006-07-31 18:54:47.7664 fontfile entry: small.1.font.bmp 2006-07-31 18:54:47.7669 fontfile entry: small.2.font.bmp 2006-07-31 18:54:47.7673 fontfile entry: standard.1.font.bmp 2006-07-31 18:54:47.7678 fontfile entry: standard.2.font.bmp 2006-07-31 18:54:47.7683 fontfile entry: threeline.1.font.bmp 2006-07-31 18:54:47.7688 fontfile entry: threeline.2.font.bmp 2006-07-31 18:54:47.7692 fontfile entry: threeline.3.font.bmp 2006-07-31 18:54:47.7733 Retrieving font data from font cache: C:\Program Files\SlimServer\server\Cache\fonts.bin 2006-07-31 18:54:47.7816 Trying to load GD Library for TTF support: ok 2006-07-31 18:54:47.7827 Using TTF for Unicode on Player Display. Font: [C:\Program Files\SlimServer\server\Graphics\CODE2000.TTF] 2006-07-31 18:55:41.6234 Found 4 files in F:\Audio Archive\John Coltrane\[1961] My Favorite Things 2006-07-31 18:55:52.0566 Cover Art asking for: thumb at size 100x100 2006-07-31 18:55:52.0573 Retrieving artwork (thumb) for: file:///F:/Audio%20Archive/John%20Coltrane/[1961]%20My%20Favorite%20Things/01%20-%20My%20Favorite%20Things.mp3 2006-07-31 18:55:52.0578 readCoverArtTags: Looking for a cover art image in the tags of: [F:\Audio Archive\John Coltrane\[1961] My Favorite Things\01 - My Favorite Things.mp3] 2006-07-31 18:55:52.1164 Looking for image files in F:\Audio Archive\John Coltrane\[1961] My Favorite Things 2006-07-31 18:55:52.1280 Found thumb file: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg 2006-07-31 18:55:52.1341 got cover art image application/octet-stream of 51316 bytes 2006-07-31 18:55:52.1348 GD wouldn't create image object 2006-07-31 18:56:32.8146 Retrieving artwork (cover) for: file:///F:/Audio%20Archive/John%20Coltrane/[1961]%20My%20Favorite%20Things/01%20-%20My%20Favorite%20Things.mp3 2006-07-31 18:56:32.8158 coverArt: Found cached cover file: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg 2006-07-31 18:56:33.0087 Cover Art asking for: cover 2006-07-31 18:56:33.0095 Use of uninitialized value in concatenation (.) or string at /PerlApp/Slim/Web/Graphics.pm line 82. 2006-07-31 18:56:33.0097 Use of uninitialized value in concatenation (.) or string at /PerlApp/Slim/Web/Graphics.pm line 82. 2006-07-31 18:56:33.0098 artwork cache key: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg-squash---2147483647 2006-07-31 18:56:33.0107 Retrieving artwork (cover) for: file:///F:/Audio%20Archive/John%20Coltrane/[1961]%20My%20Favorite%20Things/01%20-%20My%20Favorite%20Things.mp3 2006-07-31 18:56:33.0119 coverArt: Found cached cover file: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg 2006-07-31 18:56:33.0127 got cover art image application/octet-stream of 51316 bytes 2006-07-31 18:56:33.0128 no need to process image 2006-07-31 18:56:33.0129 caching result key: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg-squash---2147483647
please attach this image to the bug report: F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg the server appears unable to find the jpeg header, thus is not considering the file as being supported.
(In reply to comment #8) > please attach this image to the bug report: > F:\Audio Archive\John Coltrane\[1961] My Favorite Things\folder.jpg > > the server appears unable to find the jpeg header, thus is not considering the > file as being supported. > It's already above: "problem folder.jpg" (https://bugs-archive.lyrion.org/attachment.cgi?id=1390). This file is a recent download from Amazon.
I know it displays, but technically it's not a valid jpg file. it's missing the JFIF bytes in the header for some reason. The GD library that handles resizing only supports JPG and PNG formats. I guess we'll need more control over the bailing of corrupt files.
Dan, are you able to work with the given jpg file? If it's not something we can detect as image/jpeg content type, what would be the right thing here? I'm not sure how we can get anything up to the templates given how this problem shows up (inline of the http processing)
Fixed in change 3850 You'll need to wipe your Cache folder, and your browser cache.