Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Provide an option to delete scaled images when original is deleted #1478

Open
antonsarov opened this issue Oct 3, 2015 · 1 comment
Open

Comments

@antonsarov
Copy link

It would be really useful to have the following functionality: be able to delete the scaled images when the original has been deleted. Right now in order to achieve this, one has to retrieve the ID of the scaled image and make an additional request (deleteFile). This can be simplified by having some configuration property (see below) which is then evaluated by Fine Uploader and the scaled image is deleted as well. See #1457 for more info

scaling: {
    sizes: [
        {name: "small", maxSize: 100},
        {name: "medium", maxSize: 300}
    ],
    deleteWithOriginal: true
}
@rnicholus
Copy link
Member

Thanks for the request. We'll consider this for a future release.
On Sat, Oct 3, 2015 at 5:02 AM Anton Sarov notifications@github.com wrote:

It would be really useful to have the following functionality: be able to
delete the scaled images when the original has been deleted. Right now in
order to achieve this, one has to retrieve the ID of the scaled image and
make an additional request (deleteFile). This can be simplified by having
some configuration property (see below) which is then evaluated by Fine
Uploader and the scaled image is deleted as well. See #1457
#1457 for more info

scaling: {
sizes: [
{name: "small", maxSize: 100},
{name: "medium", maxSize: 300}
],
deleteWithOriginal: true
}


Reply to this email directly or view it on GitHub
#1478.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants