CMS-1598 Save thumbnail automatically for images