Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26984

    Hi, this is a pretty strange situation. Everywhere i look in the PD4ML site and support pages i see that the component is able to manage “data:image/png;base64,” images.

    This is the fragment of the html of my web page:

    map png

    The image is shown good on the browser but when i export to PDF i get all the HTML information except the image.
    What am i missing? Should i enable some kind of parameter?
    Could be something related to the image size?

    Thanks in advance


    Small integration on the point above.

    The src content is compiled at runtime and it depends on some options during page creation.
    There’s a script that appends dynamically the image content to the src field.
    So it seems that the creation of the PDF doesn’t execute again the script, that’s why i cannot find the image where is expected.

    Any tip on how to manage this situation?


    A possible approach:

    1. define your own “image URI format”. For example


    The image URI format should include all params, you mentioned, required by the image generating script.

    2. implement a custom resource loader, which “understands” and can process the introduced image URI format (parses the parameters, requests the script to generate an image and returns the image back).

    “myimage:param1=value1;param2=value2” will be passed to the loader as “resource” parameter.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.