push for images with click function