Page 1 of 1

Thumbnails don't show in webpage

Posted: 2009-08-26T06:18:48-07:00
by ahagen
I've used mogrify (version 6.5.4-4 2009-07-21 Q16) to create thumbnails from an .psd file. The thumbnail creation works fine, although the file format seems to be invalid. This is the command I use:

mogrify.exe -format jpg -thumbnail 96x96 \work\*.*

When I use the thumbnail to be displayed on a website, it shows as a red X. However, if I open and save the thumbnail with Paint the image is displayed properly.

Can anyone help me to get proper, displayable thumbnails or give me some clue on what is causing this problem?

Re: Thumbnails don't show in webpage

Posted: 2009-08-26T09:33:54-07:00
by fmw42
try

mogrify.exe -path fullpathto\work\ -format jpg -thumbnail 96x96 *.*

see http://www.imagemagick.org/Usage/basics/#mogrify

Re: Thumbnails don't show in webpage

Posted: 2009-08-26T23:24:23-07:00
by ahagen
Thanks for the reply. Tried it with the settings your specified and in the listed sequence, however the jpg still does not display. I also tried converting it to png and that works fine.

Re: Thumbnails don't show in webpage

Posted: 2009-08-27T08:10:29-07:00
by fmw42
might your jpeg be a JPG2000 file. if so you need the jasper delegate library installed