I want to add an image, which is in module's report folder into a report pageGraphics section, f.e.:
<pageGraphics> <image file="logo.gif" x="300" y="700"/> </pageGraphics>
Doing this results in:
IOError('File logo.gif cannot be found in image path\n handle_pageBegin args=()',)
Can it be done and how? Or should I better try put an image somewhere on page frame or table?
Do you see that the error refers to a file called
logo_first_crop.gif while your XML refers to a file called
Update : Have you tried using an absolute path like /something/logo.gif (or C:\something\logo.gif ) ?
Getting images to add to a report ...
I am not certain if this is applicable in your case, but it might help.
How to export real image not binary code
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/6/13, 10:58 AM|
|Seen: 2480 times|
|Last updated: 3/16/15, 8:10 AM|