new method getRelativeImageURL to satisfy acgh related analyses
fix get image path and temporary folder directory