yllen / pdf

GNU Affero General Public License v3.0
14 stars 14 forks source link

Change GLPI logo #29

Closed phamorais closed 1 year ago

phamorais commented 1 year ago

Change GLPI logo

hi yllen

A proposal to improve the plugin would be to create a field on the plugin's configuration page to allow you to upload an image file to change the original GLPI logo.

It would be possible?

RobertoMarcelino commented 1 year ago

To change the logo when generating a PDF report using the PDF plugin (https://github.com/yllen/pdf), you must create two images with the following specifications:

Copy the two images to the /var/www/html/glpi/marketplace/pdf/pics/ folder.

Copy the fd_logo.png image to the /var/www/html/glpi/pics/ folder.

eduardomozart commented 1 year ago

It would be great if the plug-in uses the built-in <GLPI_ROOT>/pics/logos/logo-G-100-black.png (it has exactly the same width and height) instead of a custom one so replacing the GLPI logo it would automatically reflect at the PDF file export.

yllen commented 1 year ago

@eduardomozart the logo you indicated is only a G, not Glpi like in the plugin.

eduardomozart commented 1 year ago

@yllen you could use <GLPI_ROOT>/pics/logos/logo-GLPI-100-black.png