Closed jenskl closed 11 years ago
H i ... actually, we try to avoid having more content types than we need, especially as this should be very easy to do TTW. (se below)
This content type would simply be a folder to which one can only add images.
TTW, you can just go to /portal_types and duplicate the folder, give it another name and only make it possible to add images to it.
It would only allow the galleryview.
you can set this, too at the same place Please combine it's default view with http://plone.org/products/collective.quickupload for batch uploading of images.
In the control panel (types) you can define this content type to always have quickload portlet enabled
This would make a huge difference in terms of user experience as it would be much more intuitive to go to "Add->Image Gallery" and have then a gallery view already there which then allows to upload several images at once.
you will have that if you follow the steps above
I know the same can be already be done now, if you know what steps to do (i.e. add Folder, change display view to galleryview, then add image by image). However, most users a to dumb and do not know how to "convert" a folder into an "image gallery"
Also: there is a control panel for truegallery so you can set the default "gallery type" and its settings, so the "dumb users dont have to deal with this)
As an icon for the image gallery I would suggest something like: http://www.columbiameetings.com/images/icon_gallery.gif
maybe this can be done TTW as well
... if you still need this, I will look into it
Reply to this email directly or view it on GitHub: https://github.com/collective/collective.plonetruegallery/issues/23
Espen Moe-Nilssen Grieg Medialog AS
Adding extra content types just ends up being a pain for people that end up uninstalling the product. Also, it's nice to be able to work with collections.
Couple ideas I have:
The later seems like an interesting idea but, to be honest, I'm not sure how to do it :(
@espenmn At first, I actually tried to make a copy of folder in /portal_types, exactly as you said. However, I gave up on this, as it turned out to be a mess, which is actually the reason for this very feature request ;)
A mess because:
Ok, these issues might be issues with plone itself. I do not know when (if ever) these will be fixed.
Actually what would be really intuitive: Add "Image Gallery" and have the "upload images" button there at the very creation time. That's the way I would logically expect this to work... However, maybe this is not feasible with plone. But, maybe at least have a "You can upload images here" button below the "There are no images in this gallery" text would be possible.
Have you tried wildcard.foldercontents? For a nice upload widget.
Perhaps, plonetruegallery can show the upload widget if you're logged in and also have wildcard.foldercontents installed.
I don't care for quickupload's implementation...
I dont really like the idea of forcing people to add products as not everyone wants to use the same add on. Also, adding more content types than needed is -1.
Making a "how to" is probably a better idea.
• portal factory can be set at http://mysite.com/portal_factory/manage_portal_factory_types • content type portlets are always at the bottom (below all other "normal" portlets) there are add-ons for plone that fixes this.
maybe : http://plone.org/products/collective.weightedportlets or http://plone.org/products/solgema.portletsmanager
Another option could be to make a browser view that does all the "restict content types" etc. It is also possible to customize the "add" menu to "pretend" to have another content type (not sure, but I think this product does it: http://pypi.python.org/pypi/ftw.contentmenu )
@espenmn I do not want to force people, but to have an own content type should be volutarily addable as an on product that builds on ptg.
anyway, close it if you do not agree.
thx for the pointers to other products. I looked at them, but same of them go rather deeply into the Plone system, some are very old, so I am afraid of installing them as I do not know how this works to out in 2, 3 years if I want to upgrade.
Not worth the effort, I will just write a How-To for our users (1000 users) on how to add an image gallery to our site (though I think that this should actually be self-explaining ;)
Let's not close this. You make a valid point--we're just discussing the limitations and implications of doing this completely integrated through the provided addons.
I would suggest that, if you have programming experience, provide an integration package that provides that additional content type. All it would need to do is implement the IGallery interface, extend the normal ATFolder class, and have galleryview set as it's default and only view.
I often end up doing higher levels of integration for client projects that make more sense for the client but not as much sense for the broader community.
Let's not close this. You make a valid point--we're just discussing the limitations and implications of doing this completely integrated through the provided addons.
I would suggest that, if you have programming experience, provide an integration package that provides that additional content type. All it would need to do is implement the IGallery interface, extend the normal ATFolder class, and have galleryview set as it's default and only view.
I often end up doing higher levels of integration for client projects that make more sense for the client but not as much sense for the broader community.
Reply to this email directly or view it on GitHub: https://github.com/collective/collective.plonetruegallery/issues/23#issuecomment-10848057
I will look into this
Espen Moe-Nilssen Grieg Medialog AS
Product: collective.ptg.galleryfolder has been added to pypi: http://pypi.python.org/pypi/collective.ptg.galleryfolder/
It is not finished yet, but it is working this way (there should be no danger in using it, a few things I want to add are still missing.
1) It adds a galleryfolder 2) It has your icon. 3) It can only have one view 4) It uses wildcard.foldercontents to upload images 5) It has a viewlet where we can can put a "how to". 6) It has a browser view to download all the images from the galleyfolder 7) It has an action to download all galleries of size "large" from the galleryfolder
Not working: 1) The viewlet and "this image contains no images" should be hidden when there are images in the folder. 2) A form that let you choose which image size to download (you can still do this manually this way: http://site/folder/@@gallery-export?image-size=thumb
This content type would simply be a folder to which one can only add images. It would only allow the galleryview. Please combine it's default view with http://plone.org/products/collective.quickupload for batch uploading of images.
This would make a huge difference in terms of user experience as it would be much more intuitive to go to "Add->Image Gallery" and have then a gallery view already there which then allows to upload several images at once.
I know the same can be already be done now, if you know what steps to do (i.e. add Folder, change display view to galleryview, then add image by image). However, most users a to dumb and do not know how to "convert" a folder into an "image gallery"
As an icon for the image gallery I would suggest something like: http://www.columbiameetings.com/images/icon_gallery.gif