Fixing json and resized images