• Hello,

    I have two issues:

    I have force_delete set to false on the Image Advanced field, however removing images from the post gallery is still deleting them from my media library. How can I fix this?

    Also, when I save a post and then click the Add Media button to add additional images, the previous ones that I already uploaded don’t appear in the media library / upload dialogue. But if I add an image, it suddenly re-uploads new copies of all the previous images. Obviously this is not desirable behavior – how can I prevent this from happening?

    Thanks!

    • This topic was modified 5 years, 10 months ago by jen697.
    • This topic was modified 5 years, 10 months ago by jen697.
    • This topic was modified 5 years, 10 months ago by jen697.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi,

    > I have force_delete set to false on the Image Advanced field, however removing images from the post gallery is still deleting them from my media library. How can I fix this?

    I couldn’t replicate this issue on my localhost. Are you using the latest version?

    Can you please open the console and select Network tab to see if there’s any ajax request sent when clicking the “X” icon to delete the image?

    > Also, when I save a post and then click the Add Media button to add additional images, the previous ones that I already uploaded don’t appear in the media library / upload dialogue. But if I add an image, it suddenly re-uploads new copies of all the previous images. Obviously this is not desirable behavior – how can I prevent this from happening?

    The image_advanced field filters the list of files in the media to not show what’s already **selected**, just to prevent duplication. Users should not select an image twice.

    Thread Starter jen697

    (@jen697)

    1. Yes, I am using the latest version. I just updated from 4.17.3 to 4.18 and the issue persists. And yes, when I click the X to delete the image, an ajax request is being sent.

    2. This makes sense; thanks for the clarification!

    Thread Starter jen697

    (@jen697)

    Also, if it’s useful to know, I did try disabling all other plugins to check if there was a conflict and the issue persisted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image Advanced: force_delete and adding images’ is closed to new replies.