Right now all my images automatically have width= and height= when someone adds an image to a blog post. But what if I also want every image to have a data-width= and data-height= and have it equal to what ever the size of the image actually is? Is this possible?
I want to use this: http://davidecalignano.it/project/?medium-lightbox on a website but it seems to need those attributes and it won't work if I have to manually add them to each image for every blog post.