image DB function added to camera