I have added images to a database using there directory path as one field in a row and the file extension as another field in a row.
Table code:
CREATE TABLE chinaletting (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
category TEXT NOT NULL,
title TEXT NOT NULL,
image BLOB NOT NULL,
imageext TEXT NOT NULL,
floorroom TEXT NOT NULL,
spacesize TEXT NOT NULL,
available TEXT NOT NULL,
contactname TEXT NOT NULL,
contactnumber TEXT NOT NULL,
email VARCHAR(32) NOT NULL DEFAULT 'noemail@test.com'
);
CREATE INDEX "id" ON "chinaletting" ("id");
displaying of table:
<dl>
<?php foreach ($this->entries as $entry): ?>
<dt><?php echo $this->escape($entry->category) ?></dt>
<dd><?php echo $this->escape($entry->title) ?></dd>
<dd><?php echo $this->escape($entry->image), $this->escape($entry->imageext) ?></dd>
<dd><?php echo $this->escape($entry->floorroom) ?></dd>
<dd><?php echo $this->escape($entry->spacesize) ?></dd>
<dd><?php echo $this->escape($entry->available) ?></dd>
<dd><?php echo $this->escape($entry->contactname) ?></dd>
<dd><?php echo $this->escape($entry->contactnumber) ?></dd>
<dd><?php echo $this->escape($entry->email) ?></dd>
<?php endforeach ?>
</dl>
on screen display:

What want to display really is the picture can anyone help
Try:
For 2 categories: