add hidden input to save img.src