Onepica_ImageCdn fork (only S3 support is left) with some customizations and improvements