automatic thumbnail generation, but metadata isn't working