Created
January 11, 2017 15:07
-
-
Save StephanWeinhold/eb79821a591515b690860f92af2243e0 to your computer and use it in GitHub Desktop.
Set an ExternalImage to a pimcore-object.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$imageObject = new Pimcore\Model\Object\Data\ExternalImage; | |
$imageObject->setUrl('http://www.url.com/to/your/image.jpg'); | |
$pimcoreObject->setExternalImage($imageObject); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment