Simplify image DOM element creation