Fix issue #2 Image::path function repeating the first image inside a loop