Now works with data URI images