• Resolved usertn

    (@usertn)


    Hello

    I use Perfect Images.
    I use also the Polylang Pro plugin for translating my website.
    When I delete a ‘translated image’ from the media library, the original files are preserved. However, the @2x files are deleted.
    How to prevent these files generated by Perfect Images from being deleted?

    Below is the reply from Polylang support:
    “We are not familiar with this extension and Polylang Pro is not compatible with it.
    We know that the developer of this extension makes a large number of its extensions compatible with Polylang.
    Have you contacted him to report this problem?
    Perhaps he has a solution to get around this problem.”

    Thank you for your help.
    Regards.

Viewing 1 replies (of 1 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @usertn! ??

    When media is deleted, the plugin uses the WordPress delete_attachment hook to remove the retina images. If the translated images trigger this process with the same ID as the original media, this will happen. We will check on our side to see if we can add a filter to help with this use case. Thanks for your patience and understanding.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.