put page thumbnail image into database