More often than not you will notice programmers storing the path to an image rather than the file itself as a binary object.
A path to the image is often referred to as a file-pointer.
It is simply a string-type column in your table that allows you to store the directory path in which the actual image file is stored. Storing the binary data is called a binary large object or BLOB. There are advantages and disadvantages and any discussion on the topic usually stirs lively debate. Debate seems an agressive word, doesn't it? Discussion is much more inviting. Debate is good though, as long as the discussion remains on track and highlights pros and cons, advantages and disadvantages. Let's keep this in mind as we discuss ...