fixes so all test pass php 5.3 notice errors and example image url fixed