Create the table as needed... for example:
create table images (
img_id int not null primary key auto_increment,
img_path varchar(100) not null
);
When you want to store the path, just store it as a character string... like so.
insert into images (img_path) values ('/var/www/html/example.com/images/imagename.jpg');
Now you can query for that path later using PHP and create an image tag with it.
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
mysql_select_db('db_name', $link);
$result = mysql_query('SELECT img_path FROM images WHERE img_id = ' . $img_id);
$row = mysql_fetch_assoc($result);
$html = '<img src="' . $row['img_path'] . '" height="Y" width="X" alt="Your Image" />';
echo $html;
And it's a simple as that... just work the concept into your application...