Use image element constructor