How to store image into postgreSQL

Well I think it depends on what you want to achieve.

What I think won’t work is storing a plain image as jpg or png.

You definitely can store a link (although by the looks of it that’s not what you seem to be after) or probably an image converted to binary format.

There’s PNG to binary node:

And for non png you could use ImgPlus to png

To then get int into the DB there’s an example from @takbb here:

In general I think you have to set the column in your DB to type binary in the insert node.

5 Likes