Added support to use the camera for attachments