Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi,
Just getting to grips with Couch, and considering it for a new project.

I want to have a normal HTML block of text and limit the amount of editing a user can do on this - so just a few formatting options (bold, italic) BUT want them to have the option of adding in an image if they want.

As users generally upload massive images, this image needs to be resized before saving to the server. I have seen some option for saving images, but not in the scenario I mention above. Is there a way to do this?

Also some other questions!

1) I am working on a bootstrap site for this client. For sections that have sliding galleries, how can I have the option to add to the slideshow, or delete from the slideshow as necessary?

2) On deleting images, how can I manage the images that are uploaded to the site? Is there an option to delete images, otherwise the server can get full of redundant/old images.

Thank you!

John
Hello John,

I'll try to answer your queries.
I want to have a normal HTML block of text and limit the amount of editing a user can do on this - so just a few formatting options (bold, italic) BUT want them to have the option of adding in an image if they want.
Editable region of type 'richtext' would be ideal for this. You can specify your custom toolbar with whatever buttons you wish to make available (please see http://www.couchcms.com/docs/tags-refer ... htext.html for details).

As users generally upload massive images, this image needs to be resized before saving to the server. I have seen some option for saving images, but not in the scenario I mention above. Is there a way to do this?
This is a tricky one. If you want users to upload and insert images directly within the richtext region mentioned above, then this is not currently enforceable.

You'll have to use editable regions of type 'image' for enforcing size/dimension restrictions but them the images will need to have a fixed position in the HTML layout.

I am working on a bootstrap site for this client. For sections that have sliding galleries, how can I have the option to add to the slideshow, or delete from the slideshow as necessary?
I suggest you use 'repeatable regions' for this. Slides can be added/deleted/reordered with ease. Please search this forum for sample code if you happen to require it.

On deleting images, how can I manage the images that are uploaded to the site? Is there an option to delete images, otherwise the server can get full of redundant/old images.
Images can potentially be shared across pages and regions. So (except for 'Gallery' module http://www.couchcms.com/docs/concepts/p ... llery.html) deleting an entry does not delete the associated images.

Hope this answers all your queries.
Thanks.
Is there an option to delete images, otherwise the server can get full of redundant/old images.

If you use the newer KCFinder, users can right-click on an image in the finder and choose to delete it.
3 posts Page 1 of 1
cron