read sample photo data from Sqlite db