there is not such thing as img1.html in 4images.
Please read replys from the topic you got that code from it has been answered there already.
and yes, its a very long topic, and yes I said its not possible, yet, if you continue to read, you'll find a sollution.
P.S. next time please do not start a new topic regarding another topic, please read forum rules.