updated image controller to use new path for images