merged full size and thumbnail generation into one task. it is now stored in a ImageMetadata instance. prevents the need to load the full size twice