Closed
Description
Hi.
I use the image in the report for the logo.
<image>
<reportElement x="10" y="10" width="50" height="50" uuid="6b170fd6-161e-40ff-ab0b-284c062091b2"/>
<imageExpression><![CDATA["img/logo.png"]]></imageExpression>
</image>
But I had one problem. If I use only parameters in the report, the report is not generated, because the parameter "-r" is missing. This happens because in this code section this parameter is added only if there is a connection to the database or another resource.
if ($options['db_connection']) {
...
if ($options['resources']) {
$this->command .= " -r {$options['resources']}";
}
}
I somehow incorrectly use this parameter? How can you add photos to the report differently?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels