removed hardcoded basepath for img