Hi Experts,
I am software developer. I am using MySQL database and trying to load the image from database using jquery, But when I debugging the program then it show me to many errors. Please suggest me how jquery load image database and suggest the jquery for load image database. Thanks.
Regards,Â
Jess wwagner
How Jquery load image database
Hello Jess,
Make sure that the code you are using to reference the image that you are using to load the image has been declared properly. You may be making a mistake in the path and as a result getting the many errors that you are saying. Just check that and correct where necessary.
Regards,
Nicke
How Jquery load image database
Hello Jess
I found easy solution for your problem, try to implements these lines of code:
Â
var newImage = $('<img />');
newImage.attr('src', '/Photos/GetImage?id=' + someIntegerHere);
$('#mycontainer').append(newImage);
Customize them so they fit your needs.
Regards.