You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-03-20 23:16:38

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Print to PDF plugin - editing the image

I am trying to add my company logo in place of the /plugin/pdf/pics/fd_logo.jpg file.

I can easily swap out that image, but I'm having trouble finding any code that tells me if it resizes that image or what dimensions I can use.  I'd rather be able to add an image and have the plugin not resize.

Any suggestions where to look?

Last edited by danh (2013-03-20 23:17:03)


Thanks,
Dan

Offline

#2 2013-03-21 17:19:51

caimano68
Member
From: Italy
Registered: 2006-06-28
Posts: 130

Re: Print to PDF plugin - editing the image

hi,
you can find the image in glpi/plugins/pdf/pics/fd_logo.jpg
I adopt 76x14 dimension for my logo.
bye
M.


Glpi 0.84.8 - production  and testing - OCS 2.1.2  - Mysql 5 - Apache 2 - php5 - Ubuntu server LTS 14.04 LTS
Plugins:    behaviour, position, generic object, sim management, web services, projects _______________________________________________

Offline

#3 2013-03-21 17:48:58

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Print to PDF plugin - editing the image

Thanks, but that still produces a blurry image.
There must be code somewhere that is resizing that image.


Thanks,
Dan

Offline

#4 2013-03-23 16:18:26

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Print to PDF plugin - editing the image

I think the resize is very minimal, but I still can't find the code where it's adding this image.
I'd like to stop the resize and let me choose a different file format.  png of gif tends to be better web image quality.


Thanks,
Dan

Offline

Board footer

Powered by FluxBB