Removed all code for generating thumbnails in php. Part 2.