We're running a portfolio site for a photographer using EE, and he's got about 2 gigs worth of JPEGs on S3. CE Image is used to create two versions of each photo in his portfolio (thubmnail and web-sized).
The problem is, when CE Image does this, it stores a copy of the original source image, as well as the two processed versions, in the local directory specified by ce_image_remote_dir
, even though the output is going to S3.
{exp:ce_img:pair src="{url-to-source-on-s3}" quality="85" max_width="980" bucket="s3-bucket-name" cache="yes" refresh="600"}
{aws_url}
{/exp:ce_img:pair}
As a result, we end up with a full copy of everything the client has on S3 on the EE box; is there any way to prevent the storage of, and/or automatically purge the files in ce_image_remote_dir
?