Brian Dunning's FileMaker Custom Functions

MBS_HTML_EncodeImage_JPG ( Image ; alt ; title ; width ; height ; css )

WebView HTML IMG-Tag with Base64 Encoded Data (MBS Plugin)

  Average rating: 4.2 (28 votes) Log in to vote

Aron   Aron
None
None

Share on Facebook Share on Twitter

  Sample input:
MBS_HTML_EncodeImage_JPG ( ImageContainer ; "Alt Text" ; "The Title" ; 300 ; 300 ; "rel=\"mytag\"" )
  Sample output:
Alt Text

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Image: FileMaker Container-Field with an Image
alt: String; if empty: "" it uses the Name of the Image from the Container-Field "Image"; "x" for don't write this property
title: String; "" or "x" for don't write this property
width: Number; if empty: "" it uses the with-property of the Image from Container-Field "Image"; "x" for don't write this property;
height: Number; if empty: "" it uses the height-property of the Image from Container-Field "Image"; "x" for don't write this property;
css: Optionally: Exemplary: "rel=\"mytag\""; "" or "x" for don't write this property

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: