retriving images frm database
-
Your real issue is, if the XML coming back from the database, through AJAX, contains the bytes of a bitmap, they will need to be encoded, how expensive will it be to decode them in javascript, and how do you display them ? A better approach is to have your images in your file system, the paths in your database, and have AJAX create IMG tags based on paths passed back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Your real issue is, if the XML coming back from the database, through AJAX, contains the bytes of a bitmap, they will need to be encoded, how expensive will it be to decode them in javascript, and how do you display them ? A better approach is to have your images in your file system, the paths in your database, and have AJAX create IMG tags based on paths passed back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
thanks for ur inputs... i understood buddy,actually am having an xml file which contains the links of some 50 images.now i need to retrive the xml file by specifying the url using ajax through web browser.the images could be intially in thumbnails. wat would be the better option to do this.?
-
thanks for ur inputs... i understood buddy,actually am having an xml file which contains the links of some 50 images.now i need to retrive the xml file by specifying the url using ajax through web browser.the images could be intially in thumbnails. wat would be the better option to do this.?
Still what I said - build IMG tags in your javascript.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )