fix #59 + imgSrc method improvement

Try to fix #58 but can't reproduce the bug.
@gtraxx : is #58 still an issue ?