Store both image sizes in JSON