if you want the images to be publicly accessible the simplest way to solve your 
problem would be to set the read-only-permission for anonymous user to the 
corresponding images folder: 
[url]http://wiki.magnolia-cms.com/display/DOCS/Access+control+lists[/url]
i don't think there's need to perform node-copy in code. but if you really want 
to do it, try this: 
[code]javax.jcr.Workspace.copy(imageNodeInProtectedArea.getPath(), 
pathOfNewImageNodeInPublicArea)[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=b7282c47-3bd1-4b26-884e-eb00d126d9bc


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to