Forum Index

No notifications
Notifications

Favorites

No favorites found
Ask the community Need help to achieve something? - Ask the Community
Join the Conversation > Ask the community > Adding images to dynamic documents View modes: 
User avatar
KnowledgeKube Staff
KnowledgeKube Staff
Rikard - 14/10/2016 09:55:03
   
RE:Adding images to dynamic documents

I can spot two simple changes that I think will help:

  • First off you need to add a a comma before the "jpg" in order to mark the first parameter as an empty string. Otherwise the syntax will read "jpg" as the first parameter and the function won't work.
  • Secondly, if you're using a Base64 string you need to set the third parameter - ImageType - to 3 instead of 2.

What you'd end up with is this: ~~Image(,jpg,3,400,400,VARImage)~~

Give that a try and see if it works. :)


User avatar
Advanced member
Advanced member
m1afy - 14/10/2016 09:46:18
   
RE:Adding images to dynamic documents

Hi could you help me with the syntax to call the variable in my Image field?

I'm trying ~~Image( jpg, 2, 400, 400, VARImage )~~ and variants without any sucsess.  VARImage is my varable which does contain the base64 string for my image. 


User avatar
KnowledgeKube Staff
KnowledgeKube Staff
Rikard - 12/10/2016 09:37:30
   
RE:Adding images to dynamic documents

I'm glad I could help!

If you have any other issues, don't hesitate to ask. :)


1 2 3
RSS Feed