[MKDoc-dev] 1.6 and 1.8 [BUG] photo component file format of scaled thumbnails

Bruno Postle bruno at mkdoc.com
Fri Oct 8 15:37:35 BST 2004


> David Has broken photo and image component in three ways so far:

These are separate bugs, the image component is unrelated to the
photo component.


The photo component allows an editor to upload a picture file as
part of a 'photo album'.

For example if you upload a series of photo components to an MKDoc
document, they will appear as clickable thumbnails - Following one
of these links takes you to page containing a medium sized version
of the picture (plus forward and back links to allow you to browse
the rest of the 'photos').

ImageMagick is used to create both the thumbnail and the medium
sized image - The bug here is that these are created in the same
format as the originals (ok if you upload a jpeg, but useless if you
upload a tiff or pdf file).  All scaled versions of 'photo'
components should be in jpeg format.

There is an additional bug with some versions of ImageMagick where
EXIF data isn't removed from scaled thumbnails - As a result the
files are much larger than necessary.


The image component is a different thing altogether, an image
component isn't manipulated by MKDoc in any way, it is simply
embedded in the page as-is.  If somebody uploads an inappropriate
file here, there isn't much that MKDoc could do about it - No bug.

-- 
Bruno


More information about the MKDoc-dev mailing list