-
1 Feb 2012 1:07 PM #1
View an image stored in the databasel
View an image stored in the databasel
Hi everyone,
I use Ext JS 3 and I would like to display in my form an image that is stored in my MySQL database, the image is stored as BLOB format.
The results of my research on this problem, proposes saving to use a dynamic link to the src tag, but it's not what I want, I want to displaye image on my form as I did for other fields.
For information I use the Java server side.
Thanks
-
2 Feb 2012 1:47 AM #2
Hi, anis23.
I think it's not an ExtJS problem. You can show images generating html code or in a Ext.DataView, as far as i know.
Bye!People won't be people when they hear this sound, that's been glowing in the dark, at the edge of town. People won't be people, no, the people won't be people when they hear this sound. Won't you show me what begins at the edge of town. The singer is a crook Woah-ay-oh! The kitchen is the cook Woah-ay-oh! The scissors are the barbers Woah-ay-oh! The singer is a crook Woah-ay-oh! The chorus, full of actors Woah-ay-oh! The chorus doesn't matter!
-
2 Feb 2012 2:26 AM #3
Hi attu,
I try to load an image directly from the database, not created in image format and then load it into the form.
Thanks
-
2 Feb 2012 2:42 AM #4
Yes, i figured it out
. I develope in PHP and i use pages like getImage.php to download blob images and i use like this
is there anyway in java to get an image as a result of a execution of a function?Code:<img src='getImage.php?paramsAndMoreParams'></img>
People won't be people when they hear this sound, that's been glowing in the dark, at the edge of town. People won't be people, no, the people won't be people when they hear this sound. Won't you show me what begins at the edge of town. The singer is a crook Woah-ay-oh! The kitchen is the cook Woah-ay-oh! The scissors are the barbers Woah-ay-oh! The singer is a crook Woah-ay-oh! The chorus, full of actors Woah-ay-oh! The chorus doesn't matter!
-
3 Feb 2012 8:29 AM #5
I dont understand the meaning of :
I'm not a php userCode:getImage.php?paramsAndMoreParams
-
6 Feb 2012 5:11 AM #6
I meant the way you send images to the client. When you develope PHP, you have to write in that way. I don't know how is it in Java. So, hoy do you send images to the client?
Bye!People won't be people when they hear this sound, that's been glowing in the dark, at the edge of town. People won't be people, no, the people won't be people when they hear this sound. Won't you show me what begins at the edge of town. The singer is a crook Woah-ay-oh! The kitchen is the cook Woah-ay-oh! The scissors are the barbers Woah-ay-oh! The singer is a crook Woah-ay-oh! The chorus, full of actors Woah-ay-oh! The chorus doesn't matter!


Reply With Quote