Uploading images and saving urls in database

Jela Member Posts: 1

Hi, I need to make a feature for users to be able to upload an image and then get the url from this image and save it to database so I can map over it and display it in my app.

So far I understand that uploading the files from frontend can be done with cloudinary widget but how to get url back?

I am using next.js and postgresql.



  • tia
    tia Member, Cloudinary Staff Posts: 25

    Hi there,

    Thanks so much for reaching out.

    If you need to process information from the upload, you can use a notification URL in your upload preset. That way you will get the full JSON response back and you can parse out the data you need. You can find the relevant documentation here:

    I hope this helps. If you have any questions, do not hesitate to ask.

    Kind Regards,