This topic contains 1 reply, has 1 voice, and was last updated by adriwan_kenoby 5 years, 7 months ago.
- Topic
I have a migration file for an entity :
123456789101112public function up(Schema $schema, QueryBag $queries){$this->attachmentExtension->addImageRelation($schema,SinabsNewsBundleInstaller::NEWS_TABLE_NAME, // entity table, e.g. oro_user, orocrm_contact etc.'picture', // field name[], //additional options for relation7, // max allowed file size in megabytes, can be omitted, by default 1 Mb100, // thumbnail width in pixels, can be omitted, by default 32100 // thumbnail height in pixels, can be omitted, by default 32);}How then can I display the image in twig ? The documentation is not clear for me on this point.
Thanks and kind regards
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.