(Giancarlo F. Berner) wrote:
Hi Florian

Let me ask you a shy question: Why have you selected Magnolia?
I'm sure not only for the GUI, but especially because of the underlaying JSR 170 compliant Content Repository!

Please keep in mind that your access to the repository is simply through the repository's API. That in fact is the main purpose for choosing a JSR 170 compliant CMS. Your JSP's don't worry about the persistent storage, since that's taken care of by the repository (through configuration). All your JSP does is read the content (also binary content like images). To store content you preferably will use the dialogs and let the authors do that. The repository (through it's API) offers you additional "services" (like access control, versioning, etc.), which enhances a data source to a content repository.

Please take a little time and check out the examples provided with Magnolia. E.g., create a new web page based on the "Magnolia: Two column Template". Then request the page and add a new paragraph of type "Text and Image". Once you see how authors can add images, go and look at the according JSP. That's a simple and common way to start with. Additionally you can use standard Java classes to do image processing, like resizing, etc.

hth
/Giancarlo

(Florian Fuchs) wrote:
He is probably thinking ahead to the situation where you have an image that is attached to 10 different pages... if you have to track down all 10 and manually change them then it can quickly become a maintenance nightmare. Not to mention on the extreme scale where having all these duplicates could cause size to become a problem. Magnolia CMS doesn't really offer a good solution in this respect. In fact that I would go so far as to say that Magnolia is seriously lacking in the "store an image once and use it multiple places" department. I ended up having to write my own file manager which uses the JCR and exposes the resources as URLs to give my authors a common place to put/update files.

--
Adam Cooper
Talisen Technologies
E: [EMAIL PROTECTED]



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to