Moving @pictures into database