Reputation: 313
I'm taking data via ADLDAP, using: https://github.com/Adldap2/Adldap2 and I have a problem with parsing an image.
For example, this is an taken image.
When i try to send it via AJAX Call, it returns me an error like:
I tried to use a specific response format, but, without success.
I've used:
Upvotes: 0
Views: 3767
Reputation: 4412
You are trying to send an image as json, you have to either reference the path of the image, then populate the src attribute of an img tag, or send it as a base64 encoded image
Upvotes: 1