The ``Doctrine\Phpcr\MediaManager::setDefaults`` currently triggers the ``Doctrine\Phpcr\MediaManager::updateDimenstionsFromContent``. However causes an issue here, because that method also checks for an id, name and parent we do not want in the form type. They can be set after the form processing.