And fix method to get imgsrc