Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
JSON request is cutting short my base64 image string
Post Body

Hi,

Not really Ionic specific but I am hoping someone has come across thing before.

I am taking photos using the Ionic Native camera plugin and then submitting the base64 to my database via my API. The data gets into my database ok and the image is complete however when I pull the base64 string back down though the api the image is cut short.

I am having to use the targetHeight & targetWidth camera options to ensure the string is short enough to show a full image.

Can anyone help me with this?

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 2 days ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago