Skip to content

How to get the URL of a previously deleted image (onImageUpload event)? #1518

Open
@abvas

Description

How to get the URL of a previously deleted image (onImageUpload event)?

Is it possible to get data about the previous image, for example, the URL, using the onImageUpload event when changing an image?
Why do I need this:

  1. the user inserts image_1
  2. image_1 is uploaded to the server
  3. the user changes image_1 to image_2.
  4. image_2 is uploaded to the server
  5. I need to get data about image_1 (need its URL) to delete it from the server.

Or maybe there is some other way to get data about a deleted image?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions