How to extract blob field

I have MySQL database table which contains image field.

How to extract image and bind with struct field.

What field type I have to select.

And from front end how to manage

It is better idea to use a string like image path (in the server directory) but i think a byte slice is the datatype for an image format in database

At present it is in file path.

I have experience after some time it takes long time to load

Antivirus take long time t scan folder