performance optimization:
+ caching images and javascripts
+ save scaled image locally
scaled image