On Tue, 2008-12-02 at 20:35 +0100, Ole Christian Rynning wrote:
> I am currently in a very early stage evaluating Magnolia.
>
> I need to import and manage several thousands of product images with
> the WCMS/DMS. Typically the images are large jpgs, pngs, gifs and
> pdfs. When importing I wish to automatically resize the image into
> three sizes: thumbnail, product and large (+ full).
>
> For this I wish to to develop a module/template that:
> A) Automatically resizes the images and stores them into the DMS i.e.
> under images/products/name-{thumb,small,large,full} upon
> upload/import.
If your images will be always modified only automatically and only
selected by users, you might want to use Data Module for this rather
then DMS module. In this case you would implement ImportHandler (sample
class is part of the data module) and you can have it executed
automatically by Magnolia or manually from Admin Interface
> B) A template that allows the editor to navigate the DMS by
> thumbnails, and insert images with selected size.
In this case you would want to develop your own control and then use
this control in the dialog. You can have a look at how Magnolia's Link
or UUIDLink control is done. This control is capable of displaying tree
of documents in Website/DMS/Data workspace and let editor to select
document of choice. You would perhaps want to change the display part to
show list of thumbnails rather then a tree.
HTH,
Jan
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------