Add base64decode functions from phpjs
Update image examples
Add data URL support to addImage
Update image example, massively simplify by using Data URL