Corrected thumbnail sizes and now storing thumbnail as well as large files