Getting the image details using a thumbnail on the picture

Dear All

I need a help on writing a code that can get the product details of the images on a click of that.
The details are in the database table. But the issue is we have a slider to show the images.
I am not able to guess how to get the image details by the mouse click on the slider.

The above link shows the product images on the left. The right should show the product details. Currently for every product the description remains the same. But I would like to get the details changed based on the image scroll.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott MadeiraCommented:
I don't have specific help for you because I've never used that slider program.  what you will need to do is contact the slide makers and find out how you can identify which image is showing on the left side of the screen.  It looks like there are two images in the HTML and somehow the slider is flipping from one to the other and then backfilling the next image into the sport you were just at.  If you can ID the active image then you can write some simple jQuery to use that ID to get the data you need on the product to build the details on the right.

But, step 1 will be figuring out which image is loaded at any given time.

Hope that helps a little...
Ray PaseurCommented:
Fatal error: Problem preparing query (SELECT * FROM productss ORDER BY id ASC LIMIT 1) Table 'product.productss' doesn't exist in /home/rockdeep88/public_html/db/MysqliDb.php on line 899

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
karthik80cAuthor Commented:
Dear Ray
Thank you. The error is rectified now. Sorry there was a DB connection error. Now its rectified.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.