Creating Picture mode in database