Hi. I want to export 1 or 2 image for each row .
I've tried view export with img tag but no picture added
Any additional information, configuration or data that might be necessary to reproduce the issue.
I've tried
public function registerEvents(): array
{
return [
AfterSheet::class => function(AfterSheet $event) {
$drawing = new Drawing();
$drawing->setName('Logo');
$drawing->setDescription('Logo');
$drawing->setPath(public_path('/img/test.png'));
$drawing->setCoordinates('H3');
$drawing->setWorksheet($event->sheet->getDelegate());
},
];
}
and
public function drawing($path)
{
$drawing = new Drawing();
$drawing->setName('Logo');
$drawing->setDescription('Logo');
$drawing->setPath(public_path('/img/test.png'));
$drawing->setHeight(90);
return $drawing;
}
they're not the thing i want and just added one picture on whole sheet. could anybody help me?
Please try passing an array of Drawings to the drawing method and see if that works.
Tnx alot.that works.
Please try passing an array of Drawings to the
drawingmethod and see if that works.
not working @GlennM