This content has been marked as final. Show 2 replies
@Kyleen P You're really asking two questions in one:
- Can you upload binary files such as pictures to Marketo in a form post?
- Can you display such files within the Marketo user interface, if they are browser-compatible formats?
The answer to 2. is unfortunately "No." While you can store the data in Marketo, the web app doesn't know it's a picture, and there's no place to display it. You can fetch the field using the REST or SOAP APIs, though, and display the picture in a separate web page.
Another way to work this is by using a cloud storage service. Upload the image field first (in the Forms 2.0 onSubmit event), get the resulting URL, then post just the URL to Marketo. Again, the image itself isn't going to pop up within Marketo, but it'll be a live URL link that a user can click.
Any such work should be done with an experienced JS developer.