add attribute to image
It works for me very well: mediumZoom(‘[data-zoomable]’).
Probably you are pasting a dirty piece of code (html) instead of plain text.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!