database and picture