add resizing gallery; still image crop bug