Deleting Images

Permalink Browser Info Environment
Hi C5DK
We're testing out your blog for as a wiki-page. This works great so far! Thanks for maintaining this project!
One question came up: How can a blog-user delete a image that he uploaded on mistake or don't want anymore. Is there something I miss?
The only answer to ourselve was, that he should contact the administrator for deleting this in the file-manager.
And a second thing we recognized: If the option for image generation is set to "asynchron" - there is no thumbnail after uploading an image. After saving and re-opening the blog it's there. Perhaps this needs a refresh method to fetch the thumbnail generated in the background.
best regards, Roland

Type: Discussion
Status: Resolved
webpresso
View Replies:
C5DK replied on at Permalink Reply
C5DK
Hi,

We have actually thought a lot about this and we are still searching for a fail safe solution. You see, there is a problem in this. If we did go for a straight delete function, we would have a problem if a user decided to delete all images (including all images already published). That would be bad.
So, at the moment the only solution is to contact the administrator. Sorry...

/Michael
webpresso replied on at Permalink Reply
webpresso
Hi Michael

Totally understand the difficulty for creating a safe solution.

These are my thoughts:
A C5DK Blog user sees a 'delete' icon (x) for each item he has in his siedbar-library. If he decides to delete one item (often uploaded the wrong version) it hides the image from his library.
Technically it could change the user-rights to the administrator (or a role based on a setting) and moves the image to a folder 'trash-c5dk' in the file-manager.

This wouldn't brake existing content. But gives the blog user some control to clean up his view. The admin could then do the manual clean up based on the images that are in this folder.

best regards, Roland
C5DK replied on at Permalink Reply
C5DK
Hi,

This seem a viable approach. I'll think about it and see if it's the right solution.

/Michael
C5DK replied on at Permalink Reply
C5DK
If you upgrade to latest C5DK Blog version (8.4.0), you will see that the functionality you want is added. Blog users will now be able to "remove" images in the user image manager. The image is not deleted, but moved to a "trash" file set and at the same time moved to a trash folder underneath the C5DK Blog folder in concrete5 file manager.

Happy blogging!

/Michael
C5DK replied on at Permalink Reply
C5DK
I hope this solved you problem.

We are closing this ticket!

/Michael
webpresso replied on at Permalink Reply
webpresso
Thanks Michael

Yes that solves it! Well done!!
Roland

concrete5 Environment Information

C5 8.4.0
C5DK 8.3.2

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.