Update image.js

Store image-credit in data attribute