Sqlite edited for pictures