wip
generate_thumbnail/json added