As far as I know there are two ways for storing images into a database: you might either
or
- store just the image file path as a string (effectively storing the image file itself in the filesystem).
In both cases you could later retrieve the full binary data of the image file, in order to manipulate it (e.g. showing, processing, ...).