improve image scaling performance

generate different scaled versions of uploads and don't delete them on clear-cache