getting pictures from database via created async task.