Speaking from the peanut gallery, I would prefer the images be pre-scaled and stored multiple ways in the DMS myself as it speeds up rendering to the public. Scaling on the fly from a single copy to each client is expensive on system resources.
--David Jackson Nicolas wrote: > Hi Ole, > > You seem to be receiving a lot of responses but there's one I would > hope to read but isn't here. I was expecting that the "Magnolia-way" > would be not store multiple instances of the same image, but instead > one instance and be able to deliver multiple instances on request. In > this case, you would not have to make any changes to the DMS but > instead create a simple servlet that can deliver varying instances. > > Unless you REALLY do have a valid reason to store multiple instances > of the same image, I don't see why you should. Since you want to do > the resize on automatically on the upload anyway, why not do it on the > download. Magnolia is great with caching so you will only have to > resize once just as you would with the upload. > > I hope this helps. > > > Best, > Jackson > > On Tue, Dec 2, 2008 at 11:35 AM, Ole Christian Rynning <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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. > B) A template that allows the editor to navigate the DMS by > thumbnails, and insert images with selected size. > > Can anybody give me some general pointers for how to do this (the > magnolia-way!)? > > Best regards, > > Ole Christian > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ----------------------------------------------------------------
