You are here:  » base64 for empty pic


base64 for empty pic

Submitted by gahanpip on Tue, 2017-04-04 09:40 in

Hello David,

Is it possible to put a base64 picture in to fill in empty graphics?

Philip

Submitted by support on Tue, 2017-04-04 09:54

Hello Philip,

Without making any code changes if you were to add the Search and Replace RegExp filter from this comment and then add a new Search and Replace RegExp as a Global Filter against the Image URL field, and on the configuration page for the filter in the Search box use:

/^$/

...which will match an empty field only, and in the Replace box, enter your "no image" image as required e.g.

http://www.example.com/images/noimage.jpg

...or as required.

Cheers,
David.
--
PriceTapestry.com