lichengdong / timthumb

Automatically exported from code.google.com/p/timthumb
1 stars 0 forks source link

External images being saved locally #202

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using an external image location
2.
3.

What is the expected output? What do you see instead?
Why store the external image locally when its already stored elese where (eg 
amazon cloudfront). I have limited local storage, so ideally the "external_..." 
image woundtnt need to be saved locally

What version of the product are you using? On what operating system?
1.30

Please provide any additional information below.

Also ideally id be able to place the resized cache image back onto the amazon 
CDN to bypass local bandwidth costs.

Any ideas?

thanks very much

daryl

Original issue reported on code.google.com by darylun...@gmail.com on 28 Jun 2011 at 6:51

GoogleCodeExporter commented 9 years ago
Hi - I am afraid these things happen for technical reasons. The image needs to 
be stored locally to be able to be resized by the server. The cached image can 
not be copied back to cloudfront without writing some sort of ftp system into 
timthumb which is way beyond the scope of the script.

You can read how I use it with a cdn here: 
http://www.binarymoon.co.uk/2010/11/timthumb-cdn-amazon-s3-good/

Original comment by BinaryMoon on 9 Jul 2011 at 8:32