Fixing bug with image path relativity