You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115606 Automatically delete original image after resize

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by footstepsdesign on Wednesday, 20 December 2023 13:13 GMT

footstepsdesign
I have a lot of users who will be uploading a lot of images. I have set the resize parameters to create manageable sizes but i would like the original image to be removed (deleted) from the server. Is this possible please?

Ryan
This is not currently possible. As processing is done on the server after the image is uploaded, the original image is required for other processing (thumbnailing, watermarking etc.) before resizing is done, which is itself then performed on the original image for each resize set that you have specified.

I'm looking into the best way to enable removing of the original image without adding an extra parameter option.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
I have set the resize parameters to create manageable sizes but i would like the original image to be removed (deleted) from the server.


The original image would have been resized using the first of these size sets, but only if you did not set a suffix for each image resize set. If each resize set includes a suffix, then a copy of the original image is made for each, and the original is retained.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

footstepsdesign
Brilliant, brilliant BRILLIANT!! It woked, I removed the suffix and I now have a single instance of the image 😃