I am trying to implement an image manipulation library such as Caman.js on Tumblr theme, but it doesn't work. I have seen examples like this: https://gist.github.com/dashr/3592432#file-tumblr-caman-bfly-xing-js that make me think it is possible to do.
I hosted the library on my website and included it in the theme html, but is there a specific way to include this library on Tumblr?
I want to apply the same change to every image in every post. This code doesn't do anything ..
<script type="text/javascript">
$(document).ready(function(){
$('#right').children('.post').each(function() {
Caman( this, function () {
this.greyscale();
});
this.render();
});
});
});
</script>