Copy class names from placeholder to img