Project

General

Profile

Feature #705

function call to embed byte array (image) inside the template

Added by Robert Ivens almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
velocity
Target version:
Start date:
07/10/2013
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

I have a server setup where one can't make any calls to the server without authorization from a third party server. When I use the webclient to render a report with images that are embedded in the solution then the VelocityReport plugin will send a call using a http(s) call to the server to get those images. In my case this doesn't work because it requires authentication.
Embedding the image using base64 doesn't work either (see issue #703).

Would it be possible to have a specific function call to embed a byte array in base64 format inside the HTML.

History

#1

Updated by Patrick Talbot over 10 years ago

  • Status changed from New to Closed

Added getByteMedia(byte[], [String id], [int width], [int height], [String cssClass]) and associated ByteMediaWrapper.
Available in v3.2

Also available in: Atom PDF