I have several JPEG thumbnail images in a database and need to select particular ones, stitch them together and post them into single cell in the table on a website. I've created the following query:
SELECT s.Set_Code, t.Mimetype, GROUP_CONCAT(t.Image SEPARATOR '< \;>') AS 'Image' FROM Thumbnails t INNER JOIN Sets s ON s.Component_Code = t.Product_Code WHERE s.Set_Code="SBDCR1-WSET" GROUP BY s.Set_Code
It works if I replace the image with the filename, but when I use the image itself, the image file gets corrupted ("JPEG Error #53")
Any ideas on how to create a composite thumbnail that's made up of several pre-selected images stored in a database?