Skip to content

Question: How to delete specific version of an image #24

Closed
@goravbhootra

Description

@goravbhootra

Hi,

This is a question rather than a bug. Given the versions:

@versions [:original, :passport, :thumb]

How to delete only the :original or :thumb version after storing the image?

I am storing the original image while user uploads but after specific business logic, only passport size is retained for archival purpose.

The delete function given in documentation deletes all versions of the image. Is passing the specific version enough?

Thanks,
Gorav

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions