Sign in

add attribute to image

#556
ajeet

Hi Bob,

Thanks. I have just copied some code like this `data-zoomable` from github and pasted in the editor. In ticksy, I used to do this, but in here, the WP editor has some issues, I think.

Reposting the query, if you could help me on that. I am using a js library . Its doc says I need to add `data-zoomable` attribute to images, and then use this code:

`mediumZoom(‘[data-zoomable]’)`

 

zoom

How do I add the attribute ?