Getting images from Parse database in javascript?

I have images stored in a parsing database underneath a column image.

Using query and .get ("image") command, I can get the [OBJECT object] object returned in js.

So how can I use this object to actually display the image?

image.getUrl () tells me .getUrl () is not a function, so I think it is not.

+3


source to share


2 answers


Basically, if you see your inverse image object and its line, you will get all the details about the image.

so the url of the image is



image._url

      

+1


source


The best practice for getting a Parse file or image is here in the documentation .

object.get("image").url()

      



Hope this helps!

+1


source







All Articles