Click here to Skip to main content
13,086,120 members (81,767 online)
Rate this:
Please Sign up or sign in to vote.
See more:
hi dears,
i get detail of book with this code from,
string url = @"" + cboresulttype.Text + "&index1=" + Cbosearchtype.Text + "&value1=";
   HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
                req.Timeout = 20000;
                HttpWebResponse res = (HttpWebResponse)req.GetResponse();
                StreamReader sr = new StreamReader(res.GetResponseStream());
                string txt = sr.ReadToEnd();

now i want get the photo(cover of book) of book??
how i can???
Posted 17-Sep-12 23:56pm
Updated 18-Sep-12 0:09am
Manfred R. Bihy 18-Sep-12 6:13am
And what exactly is inside the string txt after you've read it from the response stream?
It might be quite important to know that!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You just have to read this and please do yourself a favor and read it all: How to find a cover image for a book with an ISBN[^].

In case you've ignored my above advice a short summary: " does not have the functionality you want.". The site recommends you to use Open Library Covers API[^], which is quite simple to use.

Room 329 wrote: doesn't actually provide the cover image. They have an useful API for finding out more information about a given ISBN, but not the cover image.


— Manfred
hanis29268 18-Sep-12 6:46am
you are right,
it's correct.
now i want show this photo on my application form(c# 2010),
how i can???
for detail of book, send A xml file for me and i can separate field such as tittle and publisher and ETC.
so for get cover of book, how i must to do??
Manfred R. Bihy 18-Sep-12 6:59am
You find everything on the site I linked to.
You can read I hope? Which part did you not understand. Go to the site I linked to and search for the words:
"The URL pattern to access book covers is:"

Just read the few lines below that and you'll know everything there is to access the pictures.
Give it a try! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 18 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100