1. #1
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15
    Vote Rating
    0
    anis23 is on a distinguished road

      0  

    Default 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. #2
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default


    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!

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15
    Vote Rating
    0
    anis23 is on a distinguished road

      0  

    Default


    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

  4. #4
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default


    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
    Code:
    <img src='getImage.php?paramsAndMoreParams'></img>
    is there anyway in java to get an image as a result of a execution of a function?
    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!

  5. #5
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15
    Vote Rating
    0
    anis23 is on a distinguished road

      0  

    Default


    I dont understand the meaning of :
    Code:
    getImage.php?paramsAndMoreParams
    I'm not a php user

  6. #6
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default


    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!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."