Is a collection of Advanced Images (see below). The get a thumbnail of an image field, just call getThumbnail() on the returned asset object. The image drop area's width and height can be configured The image field is represented in the UI by an image drop area. $image = Asset\Image::getByPath("/examples/example1.jpg") To set an object's image field programmatically, an \Pimcore\Model\Asset\Image must be passed to the according setter. Unlike other object relation types, an image relation is not stored in the relations table (this has historic reasons),īut it creates a dependency in the dependencies table. It holds the ID of the referenced \Pimcore\Model\Asset\Image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |