added relative paths for img resources