Create unique IDs for the <img> tags