Skip to content

Resources in report #99

Closed
Closed
@Azariil

Description

@Azariil

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions