[SOLVED] Deleting unassigned images doesn't work

More
8 years 9 months ago - 8 years 8 months ago #60147 by agata
Hello,
Periodically I go to Flexicontent > Files and delete all the unassigned images to not clutter the server. Today I noticed that if I delete 1 at a time it works fine but if I tick off more than 1, they don't get deleted. I'm at 3.0.13.
Best,
Agata
Last edit: 8 years 8 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #60234 by agata
Hi, I can see on one of my sites that now the unassigned images get deleted, which is great and saves me a task I have to do manually. However, on at least one other site the unassigned images remain there and the problem with deleting more than 1 at a time remains. Both sites in question are upgraded to 3.0.13.
Agata

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #60260 by ggppdk
Hello

there is a parameter to enable auto-delete of images
- you need to enable parameter
- the parameter is available for image field using image source: "DB-mode"

same feature will be added for folder mode, but for folder mode is less important because the images are added per item
(but it is still useful/needed) and it is scheduled to add:
github.com/FLEXIcontent/flexicontent-cck/issues/369


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #60269 by agata
Hello, thanks for this. I went to all my image fields, the option was by default set to Always, just in case I re-saved them all but there are still unassigned images and if I select more than 1 at a time, they don't get deleted.
Agata

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #60279 by ggppdk
Hello

The images are deleted
- if image field is in DB-mode
- and if they were previously assigned to the currently edited item
- and they are removed in item form and you click save

the deletion is happening during save

go to FLEXIcontent file manager and find the images,
- check if they are in-use by other items


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: agata

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #60306 by agata
So I'd either need to:
1) go to each item and save
2) delete unassigned images one by one?
Ok that will have to do, thanks!
Agata

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.752 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline