Add automatic image sizes to images