Alter image extension after being fetched

By default imagecache_external tries to induce image extension through image path. In some scenarios its not possible to get that information from image path. So an additional hook is needed after the image has being requested.

Other module will use the content-type information found in response headers to decide how to alter the extension.

Image Styles Generation issue on Production

I am unable to generate the media styles on my production server while it is working fine on my local machine.

Production server is having centos and httpd web server while my local have apache2.2 and ubuntu.

I have invested more than a day to apply many changes given on the forums like below:

Image Cache Tokens Showing internal Storage API URL

I am running the Image Cache Tokens module to generate tokens for each image style. With the storage API enabled it is instead of generating my Cloudfront URL's it's showing my internal Storage API URL's

Clear Image Cache Without Clearing Browser Cache

When you update an image style, you need to clear your browser cache in order to see the updated image style take effect. There may be cases that you need to update the image ASAP and you can't rely on users clearing their browser cache.

Steps to reproduce:

Does this work with uploaded media and system files?

Ok I am so very confused on how to get this to work.

I installed it and went to the config page and setup values.

On the media browser page I am given yet another place to enter a file path

On the admin appearance settings page I can upload files but they bypass fe_paths.

So what should I be doing?

Signed,
Uploaded and confused.

Can't edit image style or flush images (drush) for images on S3

Modules and versions:
Drupal 7.31
AmazonS3 7.x-1.0
AWS SDK for PHP 7.x-5.4
awsdsk php library release 1.5.17.1
Video 7.x-2.10

The image style for the video thumbnails works but if I try to edit the style or flush the image cache using drush the system just hangs. Eventually it will time out. This operation touches many modules and core itself so this may or may not belong here. Please let me know if I should post it elsewhere.

--Mike

Pages

Subscribe with RSS Subscribe to RSS - imagecache