extract image tags (commented out for future use)