Removed all code for generating thumbnails in php.