wrapper for image downsize, to later handle specified sizes