Tr : RE RE Graph and Dashboards by email

One step further : Lotus Notes won’t accept PNG images, but will show GIF
images

So for the pie chart to be displayed correctly, the following patch did
the trick :
in /opt/rt3/share/html/Search/Chart
line 191
-my @types = (‘png’ , ‘gif’);
+my @types = (‘gif’ , ‘png’);

but for the tickets relathionship graphs things are harder.

I made some tries on /opt/rt3/share/html/Tickets/Graphs/dhandler lines 71
through 76, by changing png to gif
but the result is not so immediate. On the WebUI, refreshing my browser,
the image alterns between, having a black backgound, not displaying at
all, displaying correctly.
There must be another file to patch…

Rapha�l MOUNEYRES

Rapha�l MOUNEYRES raphael.mouneyres@sagemcom.com
Envoy� par : rt-users-bounces@lists.bestpractical.com
07/07/2011 14:47

A
rt-users@lists.bestpractical.com
cc

Objet
[rt-users] RE Graph and Dashboards by email

After looking more precicely into the mail headers and format, i notice
that images generated for the graphs have header :
Content-Transfer-Encoding: base64
Content-Type: image/png
Content-Disposition: inline
Content-ID: 131002560331525265433
and are reffered with : <img src=3D"cid:131002560331525265433" />

So probably Lotus Notes is either unable to display PNG images, or won’t
accept inline images (i can’t have any answer from our IT department…)

Is it possible to modify the format of sent image to JPG for example so i
can make a try ? where to start with in the code, RT or external source ?

thank you for any information,

Rapha�l MOUNEYRES

Rapha�l MOUNEYRES raphael.mouneyres@sagemcom.com
Envoy� par : rt-users-bounces@lists.bestpractical.com
07/07/2011 09:45

A
rt-users@lists.bestpractical.com
cc

Objet
[rt-users] Graph and Dashboards by email

Hi,
still using RT 3.8.8 :wink:

i have included multiple Queries to a dashboard, including 2 graphs : A
pie chart one , and a tickets relationship one
This dashboard is correctly displaying all my queries (tables & graphs)
inside RT webUI.
But when sending this dashboard on email, the graphs aren’t displayed
(i’ve got a small red box with a cross instead , meaning image not
available)…
our mail client is Lotus Notes.
Is it normal ?

Rapha�l

" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caract�re priv�. S’ils ne vous sont
pas destin�s, nous vous signalons qu’il est strictement interdit de les
divulguer, de les reproduire ou d’en utiliser de quelque mani�re que ce
soit le contenu. Si ce message vous a �t� transmis par erreur, merci d’en
informer l’exp�diteur et de supprimer imm�diatement de votre syst�me
informatique ce courriel ainsi que tous les documents qui y sont attach�s."

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."