I need a bit of help writing a listener and trigger that will override the jrCore > jrImage_display function on a mobile device.
#1. I need to be able to add params to the jrImage_display function such as:
amp-width, amp-height & the amp "layout" attribute (of course these need to be ignored when not on a mobile device)
#2. It must allow the "img" tag to be replaced by the "amp-img" tag for everything to be amp valid.
Is this possible? I already have a functioning AMP module, I just need to add this piece for it to really integrate with the image functionality of JR.
THANKS!!
--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
updated by @the-patria-company: 03/04/19 08:20:22PM