Changed get_image_path to specify relative to a given file