# create image meta data json content def create_images_json(image_source, image_name, image_id) : im_width, im_height = image_source.size return { "file_name" : image_name, "heigth" : im_height, "width" : im_width, "id" : image_id }