Skip to main content
Aug 10, 2017 6:14 PM UTC
Delivered

Fix RTP asset image URL 'lazy' validator

The text input field for the image associated with a Rich Media content asset is for some reason limited to URLs explicitly ending in DOS-style filename extensions (the kind which, in older times, were conventionally associated with images; e.g. ".jpg"). However, not every image URL on the internet ends in ".jpg".  Databases and CDNs, for example, may serve images at perfectly valid image URLs that don't end in ".gif" or ".jpg".  The MIME type, file header, or 'Content-Type' HTTP header should instead be used to check that an image is an image.

For example, this is a perfectly valid image URL: uberflip.cdntwrk.com/files/aHViPTYzODY3JmNtZD1pdGVtZWRpdG9yaW1hZ2UmZmlsZW5hbWU9aXRlbWVkaXRvcmltYWdlXzU5NzkxY2EwZjAwOTEucG5nJnZlcnNpb249MDAwMCZzaWc9MGZmMGE1MDgzMmU3N2VkNWRmMjkzOWE0ODczNzU3MzI%253D

Marketo, can you please fix the image URL field validator for RTP content/assets so the image is validated based on whether it is an image, instead of whether the URL ends in ".jpg"?

As seen above, your very own asset list displays the very images it simultaneously declares are invalid.

3 replies

Level 2
Sep 27, 2017 12:42 PM UTC

I totally agree it.

We are using some CMS, so our image files need URL Parameters.

Marketo, please update to remove the validation rule of "Image URL" as soon as possible.

Translate
David_Myers
Level 4
Dec 18, 2017 11:25 AM UTC

This has been added and completed in our Fall release as of Dec 15, 2017. You can now add these URLs that will be recognized as the image files in Predictive Content Rich Media and Email.

Thank you for the feedback

Translate
Feb 6, 2020 7:00 PM UTC
No text available
Translate