Re: how to save an image inside an folderish page that hasn't been saved yet?
Martin Opstad Reistadbakk <martior-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CACT3qOfuYqXrvkNSx0_yrKyU+d1cMfHN7C5S4cESkeiNfnkH8w@mail.gmail.com> |
Strong forces in the computer industry is also moving us away from the filesystem as something we have to deal with. Media files are today mostly handled by media library apps, at least for music, video and pictures. On most smartphones and tablets you don't even have access to the file system. If we move away from folders with content in them, to folderish pages as the main container, I think we have an opportunity to to re-think how we handle images and files. I am not saying the way I described is the only way, but it is a possible route to explore. Something that might complicate how we approach this is that there to me at least seem to be two types of media. The ones you care about outside of the context where it is first used and might re-use again or at least want to keep organised somewhere, and the images that you don't care about outside of this context. Folderish pages will introduce more possibilities of media files getting accidentally deleted, even with link integrity checks (people don't always read and delete anyway). Images have much more places to end up as well when you try and find them. In a project desciption containing one main page and several sub-pages, images for the project can end up inside all the different sub-pages, but might be re-used all over the place. One thought here is that a medialibrary is just a behaviour you enable on a folderish page. If enabled, they will allow images and files to be stored in them. Then the main project page/folder can have images, but the sub pages not. You could also configure this behaviour more and use folderactions to enable it for newly added pages, so if you want all news content types in the news folder to self contain all images uploaded to them, that would be easy. Designing a new default way to do handle media in Plone does not mean the old way will go away for those who want that. We are notoriously good at keeping good backwards compatibility, and in the end, they are just content types stored in the zodb. On Wed, Feb 5, 2014 at 8:34 PM, espen <[email protected]> wrote: > > > 5. feb. 2014 kl. 18:54 skrev David Glick (Plone) [via Plone] <[hidden > email] <http://user/SendEmail.jtp?type=node&node=7570003&i=0>>: > > On 2/5/14, 6:05 AM, Nathan Van Gheem wrote: > > > > > On Wed, Feb 5, 2014 at 7:59 AM, Christian Ledermann <<a > href="x-msg://6/user/SendEmail.jtp?type=node&node=7570002&i=0" > target="_top" rel="nofollow" link="external">[hidden email]> wrote: > >> -1 >> >> It is quite common (at least in the sites I know) that files and images >> are associated with a certain content. >> e.g. Event -> required reading, outputs, photogallery, ... >> > I agree. It's one of the advantages of Plone to be able to organize > content without having a "Media Repository." If you feel like it'd be nice > to have one central place to view and manage media files, you could still > create a media repository browser that viewed all content stored in all the > folders of the site. > > > Yeah, storing files and images in a media library and having them be > associated with particular content items are not necessarily mutually > exclusive. One could make a media library keyed by content UID, for > example. (Though I guess that doesn't help with the original question, > given that UIDs aren't assigned until content is added.) > > > consider how one would keep content on a personal computer, ..... plone > should do the same. > Many people would do it like this: > > [ myproject] > [part1] > [text part 1] > some_text.rtf > [images_part_1] > some_image.jpg > [part2] > ........ > > uploading images is one thing, but deleting them is another: > If you put all content about for example <<A certain happening>> into one > folder, it is easy to remove all at the same time > > > ........ unless the images could be virtually in a folder (they are kept > somewhere else, but to the user they appear to be in the folder (some smart > folder magic ) > > Espen > > > > ------------------------------------------------------------------------------ > > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Plone-developers mailing list > <a href="x-msg://6/user/SendEmail.jtp?type=node&node=7570002&i=1" > target="_top" rel="nofollow" link="external">[hidden email] > https://lists.sourceforge.net/lists/listinfo/plone-developers > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://plone.293351.n2.nabble.com/how-to-save-an-image-inside-an-folderish-page-that-hasn-t-been-saved-yet-tp7569977p7570002.html > To start a new topic under Core Developers, email [hidden email]<http://user/SendEmail.jtp?type=node&node=7570003&i=1> > To unsubscribe from Plone, click here. > NAML<http://plone.293351.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > ------------------------------ > View this message in context: Re: how to save an image inside an > folderish page that hasn't been saved yet?<http://plone.293351.n2.nabble.com/how-to-save-an-image-inside-an-folderish-page-that-hasn-t-been-saved-yet-tp7569977p7570003.html> > Sent from the Core Developers mailing list archive<http://plone.293351.n2.nabble.com/Core-Developers-f293355.html>at Nabble.com. > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Plone-developers mailing list > Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/plone-developers > > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers