« first day (1323 days earlier)      last day (2042 days later) » 

10:59 AM
I am trying to crop image using PIL.image and display image and corresponding name on the html page using flask.
I stored crooped image in crop_pic list and name in r_name list.

# storing cropped image and corresponding name in a dictionary r_data
for pic,name in zip(crop_pic,r_name):
r_data.update({pic : name})

crop_pic - a list of cropped image using PIL
r_name - a list of names

# returning the r_data to template
return render_template('index_demo.html', r_data=r_data)

In html page, I tried this :
 
11:24 AM
1 message moved from Python
 

« first day (1323 days earlier)      last day (2042 days later) »