Menu
I have a few small images, smilies, that I want to store with their corrisponding set code and smilie code in a database, but how do I go about storing the images in the database… do I just set the blob to be the value in the return of createJpeg or seomthing like that I am unsure about how to get it to work so I thought I would ask first…
[i]Originally posted by mrchipps69 [/i]
[B]<snip>I was generally going to access it using a single php file to create the grid of smilies of one set... and then the same php file to return an image for each smilie</snip>[/B][/QUOTE]
[code=php]If !$code {
output grid
// table 4x4 with pictures in current set and codes 1-16
}else{
add image type header
connect to db
select table
send query for smilie with set and code
output the image from the blob
}
[/code]
I cant use the set code becuase that can contain bad chars like + and /....[/quote]
[b]<snip>and I am planning on making a php program to cut it up into the respective smilie faces and save them somehow... </snip>[/b][/quote]Once you cut them up 'somehow', how do you plan to display them on an HTML page?
[i]From your earlier post[/i][b]Output to what?
output the image from the blob[/b][/quote]
If !$code {
output grid
// table 4x4 with pictures in current set and codes 1-16
}
[/QUOTE]
0.1.9 — BETA 5.18