How Jquery load image database

Asked By 0 points N/A Posted on -
qa-featured

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

SHARE
Best Answer by Nicke Baker
Best Answer
Best Answer
Answered By 0 points N/A #166859

How Jquery load image database

qa-featured

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

Answered By 0 points N/A #166860

How Jquery load image database

qa-featured

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.

Related Questions