Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Demian Katz <demian.katz@vi...> - 2011-05-26 13:27:26
|
If you actually open the broken image links in their own windows, do you see any useful error messages? Regarding caching, not every service gets its images cached (due to concern about terms of service issues) -- if you see different images on different refreshes, it suggests that they are coming from a service that does not allow caching and that the service is having intermittent problems. - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 9:17 AM > To: vufind-tech@... > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Dear Folks, > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for image > content in our DEV version of VuFind 1.0.1. I am having bit of hard > time getting the images to come up. I printed ISBN and manually checked > at least the google api to make sure the images are there. I can't > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > wonder if anyone experienced a problem with images loading. I did > refresh my browser few times, some images would show up at random. I am > thinking this has something to do with caching? > > Sincerely, > Lec > |
From: Maj, Lec <lec.maj@ya...> - 2011-05-26 13:17:12
|
Dear Folks, I have enabled LibraryThing,Google,OpenLibrary in config.ini for image content in our DEV version of VuFind 1.0.1. I am having bit of hard time getting the images to come up. I printed ISBN and manually checked at least the google api to make sure the images are there. I can't upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I wonder if anyone experienced a problem with images loading. I did refresh my browser few times, some images would show up at random. I am thinking this has something to do with caching? Sincerely, Lec |
From: Demian Katz <demian.katz@vi...> - 2011-05-26 13:27:26
|
If you actually open the broken image links in their own windows, do you see any useful error messages? Regarding caching, not every service gets its images cached (due to concern about terms of service issues) -- if you see different images on different refreshes, it suggests that they are coming from a service that does not allow caching and that the service is having intermittent problems. - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 9:17 AM > To: vufind-tech@... > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Dear Folks, > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for image > content in our DEV version of VuFind 1.0.1. I am having bit of hard > time getting the images to come up. I printed ISBN and manually checked > at least the google api to make sure the images are there. I can't > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > wonder if anyone experienced a problem with images loading. I did > refresh my browser few times, some images would show up at random. I am > thinking this has something to do with caching? > > Sincerely, > Lec > |
From: Maj, Lec <lec.maj@ya...> - 2011-05-26 13:32:06
|
Unfortunately the direct links do not work either at the moment. I will try to put echo statements as you suggested in earlier email I just have seen. Sincerely, Lec On 5/26/11 9:27 AM, "Demian Katz" <demian.katz@...> wrote: If you actually open the broken image links in their own windows, do you see any useful error messages? Regarding caching, not every service gets its images cached (due to concern about terms of service issues) -- if you see different images on different refreshes, it suggests that they are coming from a service that does not allow caching and that the service is having intermittent problems. - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 9:17 AM > To: vufind-tech@... > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Dear Folks, > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for image > content in our DEV version of VuFind 1.0.1. I am having bit of hard > time getting the images to come up. I printed ISBN and manually checked > at least the google api to make sure the images are there. I can't > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > wonder if anyone experienced a problem with images loading. I did > refresh my browser few times, some images would show up at random. I am > thinking this has something to do with caching? > > Sincerely, > Lec > |
From: <fapeng@no...> - 2011-05-26 13:31:02
Attachments:
text/plain
bookcover.php
|
From: Demian Katz <demian.katz@vi...> - 2011-05-26 13:32:54
Attachments:
text/plain
image001.gif
|
From: Sean C Purcell <seanpurc@ug...> - 2011-05-26 14:08:15
Attachments:
text/plain
image001.gif
|
From: Maj, Lec <lec.maj@ya...> - 2011-05-26 14:26:11
|
From: Demian Katz <demian.katz@vi...> - 2011-05-26 14:37:49
|
Ahh, that PHP time zone warning is very annoying and hard to get rid of! Did you set date.timezone in your php.ini file? I had to do that in order to get rid of the message on my web pages... but even WITH that setting, I can't seem to suppress it from my CLI version. - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 10:26 AM > To: Sean C Purcell; Demian Katz; fapeng@... > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > We have GD enabled (attached phpinfo screen grab). Few lines commented > out and now I am able to get error messages in FF (not Chrome). > > My thought is that the error messages are being garbled together with > image binary data, hence the errors... (attached screen grab) I can see > this after disabling header('Content-type: image/jpeg'); and few other > things. I disabled error logging in config.ini, perhaps these come from > somewhere else. Otherwise with the header there I just the generic: The > image .... cannot be displayed because it contains errors > > By the way I know the image being pulled is a JPEG (Can see the in > header line JFIF, and works directly from google json link) > http://bks2.books.google.com/books?id=9bibQwAACAAJ&printsec=frontcover& > img=1&zoom=5 > > Also, my time zone config is default: timezone = > "America/New_York" > > I am on Win 2003 server, apache 2.2 with php 5 > > Sincerely, > Lec > > On 5/26/11 10:05 AM, "Sean C Purcell" <seanpurc@...> wrote: > > We've had problems with images sometimes not loading, due to not having > the proper libraries loaded. Run phpinfo() and look under the "GD" > section and make sure JPEG & PNG support are both enabled. JPEG > support was not enabled in our case. You may have already done this, > but check your php_error log. This is the error we were getting: > PHP Fatal error: Call to undefined function imagejpeg() > > Sean > > > From: Demian Katz [mailto:demian.katz@...] > Sent: Thursday, May 26, 2011 9:33 AM > To: fapeng@...; Maj, Lec > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > If the problem really does have to do with .GIF and .PNG files, it is > possible that your version of PHP was not compiled with the proper > library support. If changing the code doesn't help, that might be > worth investigating as well. > > - Demian > > > From: fapeng@... [mailto:fapeng@...] > Sent: Thursday, May 26, 2011 9:31 AM > To: Maj, Lec > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Your sounds familiar to me. I just checked my note, "Book cover didn't > work for format of .gif, png... FIXED", but I didn't recorded where I > modified. Anyway here is my bookcover.php file, you can try to see if > it works for you. we are in version 1.01 too. > > (See attached file: bookcover.php) > > > ************ > Fang Peng > Library Information System/DoIT > Stony Brook University > ************************ > > [cid:3389250362_25211167]"Maj, Lec" ---05/26/2011 09:17:28 AM---Dear > Folks, I have enabled LibraryThing,Google,OpenLibrary in config.ini for > image content in our DE > > From: "Maj, Lec" <lec.maj@...> > To: "vufind-tech@..." <vufind- > tech@...> > Date: 05/26/2011 09:17 AM > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > ________________________________ > > > > Dear Folks, > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for image > content in our DEV version of VuFind 1.0.1. I am having bit of hard > time getting the images to come up. I printed ISBN and manually checked > at least the google api to make sure the images are there. I can't > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > wonder if anyone experienced a problem with images loading. I did > refresh my browser few times, some images would show up at random. I am > thinking this has something to do with caching? > > Sincerely, > Lec > > > [attachment "Screen shot 2011-05-26 at 9.15.12 AM.png" deleted by Fang > Peng/DoIT] [attachment "Screen shot 2011-05-26 at 9.16.10 AM.png" > deleted by Fang Peng/DoIT] -------------------------------------------- > ---------------------------------- > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, you > get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest- > d2dcopy1_______________________________________________ > Vufind-tech mailing list > Vufind-tech@... > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > |
From: Maj, Lec <lec.maj@ya...> - 2011-05-26 15:05:50
|
Yes, just fixed the timezone in php.ini (it was already done on our prod, but did not make it to the dev). I am still having problem, looking closely there is an notice Notice: Undefined offset: 1 in C:\vufind\web\bookcover.php on line 72 I solved the problem by trying to disable all warning notices. I am not familiar with php.ini and turning things off there did not work. Finally in bookcover.php first line I added: error_reporting(0); That did the trick, of course not the best way, but works. The problem is that any notice can be garbled with the image and passed for display. For now the problem is solved. Thanks for your help. Sincerely, Lec On 5/26/11 10:37 AM, "Demian Katz" <demian.katz@...> wrote: Ahh, that PHP time zone warning is very annoying and hard to get rid of! Did you set date.timezone in your php.ini file? I had to do that in order to get rid of the message on my web pages... but even WITH that setting, I can't seem to suppress it from my CLI version. - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 10:26 AM > To: Sean C Purcell; Demian Katz; fapeng@... > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > We have GD enabled (attached phpinfo screen grab). Few lines commented > out and now I am able to get error messages in FF (not Chrome). > > My thought is that the error messages are being garbled together with > image binary data, hence the errors... (attached screen grab) I can see > this after disabling header('Content-type: image/jpeg'); and few other > things. I disabled error logging in config.ini, perhaps these come from > somewhere else. Otherwise with the header there I just the generic: The > image .... cannot be displayed because it contains errors > > By the way I know the image being pulled is a JPEG (Can see the in > header line JFIF, and works directly from google json link) > http://bks2.books.google.com/books?id=9bibQwAACAAJ&printsec=frontcover& > img=1&zoom=5 > > Also, my time zone config is default: timezone = > "America/New_York" > > I am on Win 2003 server, apache 2.2 with php 5 > > Sincerely, > Lec > > On 5/26/11 10:05 AM, "Sean C Purcell" <seanpurc@...> wrote: > > We've had problems with images sometimes not loading, due to not having > the proper libraries loaded. Run phpinfo() and look under the "GD" > section and make sure JPEG & PNG support are both enabled. JPEG > support was not enabled in our case. You may have already done this, > but check your php_error log. This is the error we were getting: > PHP Fatal error: Call to undefined function imagejpeg() > > Sean > > > From: Demian Katz [mailto:demian.katz@...] > Sent: Thursday, May 26, 2011 9:33 AM > To: fapeng@...; Maj, Lec > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > If the problem really does have to do with .GIF and .PNG files, it is > possible that your version of PHP was not compiled with the proper > library support. If changing the code doesn't help, that might be > worth investigating as well. > > - Demian > > > From: fapeng@... [mailto:fapeng@...] > Sent: Thursday, May 26, 2011 9:31 AM > To: Maj, Lec > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Your sounds familiar to me. I just checked my note, "Book cover didn't > work for format of .gif, png... FIXED", but I didn't recorded where I > modified. Anyway here is my bookcover.php file, you can try to see if > it works for you. we are in version 1.01 too. > > (See attached file: bookcover.php) > > > ************ > Fang Peng > Library Information System/DoIT > Stony Brook University > ************************ > > [cid:3389250362_25211167]"Maj, Lec" ---05/26/2011 09:17:28 AM---Dear > Folks, I have enabled LibraryThing,Google,OpenLibrary in config.ini for > image content in our DE > > From: "Maj, Lec" <lec.maj@...> > To: "vufind-tech@..." <vufind- > tech@...> > Date: 05/26/2011 09:17 AM > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > ________________________________ > > > > Dear Folks, > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for image > content in our DEV version of VuFind 1.0.1. I am having bit of hard > time getting the images to come up. I printed ISBN and manually checked > at least the google api to make sure the images are there. I can't > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > wonder if anyone experienced a problem with images loading. I did > refresh my browser few times, some images would show up at random. I am > thinking this has something to do with caching? > > Sincerely, > Lec > > > [attachment "Screen shot 2011-05-26 at 9.15.12 AM.png" deleted by Fang > Peng/DoIT] [attachment "Screen shot 2011-05-26 at 9.16.10 AM.png" > deleted by Fang Peng/DoIT] -------------------------------------------- > ---------------------------------- > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, you > get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest- > d2dcopy1_______________________________________________ > Vufind-tech mailing list > Vufind-tech@... > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > |
From: Demian Katz <demian.katz@vi...> - 2011-05-26 15:11:28
|
For what it's worth, that notice is fixed as of VuFind 1.1... but glad you were able to get things working in the meantime! - Demian > -----Original Message----- > From: Maj, Lec [mailto:lec.maj@...] > Sent: Thursday, May 26, 2011 11:06 AM > To: Demian Katz; Sean C Purcell; fapeng@... > Cc: vufind-tech@... > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > Yes, just fixed the timezone in php.ini (it was already done on our > prod, but did not make it to the dev). I am still having problem, > looking closely there is an notice > > Notice: Undefined offset: 1 in C:\vufind\web\bookcover.php on line 72 > > I solved the problem by trying to disable all warning notices. I am not > familiar with php.ini and turning things off there did not work. > Finally in bookcover.php first line I added: error_reporting(0); That > did the trick, of course not the best way, but works. The problem is > that any notice can be garbled with the image and passed for display. > For now the problem is solved. Thanks for your help. > > Sincerely, > Lec > > On 5/26/11 10:37 AM, "Demian Katz" <demian.katz@...> wrote: > > Ahh, that PHP time zone warning is very annoying and hard to get rid > of! Did you set date.timezone in your php.ini file? I had to do that > in order to get rid of the message on my web pages... but even WITH > that setting, I can't seem to suppress it from my CLI version. > > - Demian > > > -----Original Message----- > > From: Maj, Lec [mailto:lec.maj@...] > > Sent: Thursday, May 26, 2011 10:26 AM > > To: Sean C Purcell; Demian Katz; fapeng@... > > Cc: vufind-tech@... > > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > > > We have GD enabled (attached phpinfo screen grab). Few lines > commented > > out and now I am able to get error messages in FF (not Chrome). > > > > My thought is that the error messages are being garbled together with > > image binary data, hence the errors... (attached screen grab) I can > see > > this after disabling header('Content-type: image/jpeg'); and few > other > > things. I disabled error logging in config.ini, perhaps these come > from > > somewhere else. Otherwise with the header there I just the generic: > The > > image .... cannot be displayed because it contains errors > > > > By the way I know the image being pulled is a JPEG (Can see the in > > header line JFIF, and works directly from google json link) > > > http://bks2.books.google.com/books?id=9bibQwAACAAJ&printsec=frontcover& > > img=1&zoom=5 > > > > Also, my time zone config is default: timezone = > > "America/New_York" > > > > I am on Win 2003 server, apache 2.2 with php 5 > > > > Sincerely, > > Lec > > > > On 5/26/11 10:05 AM, "Sean C Purcell" <seanpurc@...> wrote: > > > > We've had problems with images sometimes not loading, due to not > having > > the proper libraries loaded. Run phpinfo() and look under the "GD" > > section and make sure JPEG & PNG support are both enabled. JPEG > > support was not enabled in our case. You may have already done > this, > > but check your php_error log. This is the error we were getting: > > PHP Fatal error: Call to undefined function imagejpeg() > > > > Sean > > > > > > From: Demian Katz [mailto:demian.katz@...] > > Sent: Thursday, May 26, 2011 9:33 AM > > To: fapeng@...; Maj, Lec > > Cc: vufind-tech@... > > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > > > If the problem really does have to do with .GIF and .PNG files, it is > > possible that your version of PHP was not compiled with the proper > > library support. If changing the code doesn't help, that might be > > worth investigating as well. > > > > - Demian > > > > > > From: fapeng@... [mailto:fapeng@...] > > Sent: Thursday, May 26, 2011 9:31 AM > > To: Maj, Lec > > Cc: vufind-tech@... > > Subject: Re: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > > > Your sounds familiar to me. I just checked my note, "Book cover > didn't > > work for format of .gif, png... FIXED", but I didn't recorded where I > > modified. Anyway here is my bookcover.php file, you can try to see if > > it works for you. we are in version 1.01 too. > > > > (See attached file: bookcover.php) > > > > > > ************ > > Fang Peng > > Library Information System/DoIT > > Stony Brook University > > ************************ > > > > [cid:3389250362_25211167]"Maj, Lec" ---05/26/2011 09:17:28 AM---Dear > > Folks, I have enabled LibraryThing,Google,OpenLibrary in config.ini > for > > image content in our DE > > > > From: "Maj, Lec" <lec.maj@...> > > To: "vufind-tech@..." <vufind- > > tech@...> > > Date: 05/26/2011 09:17 AM > > Subject: [VuFind-Tech] VuFind 1.0.1 bookcover.php > > > > ________________________________ > > > > > > > > Dear Folks, > > > > I have enabled LibraryThing,Google,OpenLibrary in config.ini for > image > > content in our DEV version of VuFind 1.0.1. I am having bit of hard > > time getting the images to come up. I printed ISBN and manually > checked > > at least the google api to make sure the images are there. I can't > > upgrade to Vufind 1.1 at the moment, but the changes seem minimal. I > > wonder if anyone experienced a problem with images loading. I did > > refresh my browser few times, some images would show up at random. I > am > > thinking this has something to do with caching? > > > > Sincerely, > > Lec > > > > > > [attachment "Screen shot 2011-05-26 at 9.15.12 AM.png" deleted by > Fang > > Peng/DoIT] [attachment "Screen shot 2011-05-26 at 9.16.10 AM.png" > > deleted by Fang Peng/DoIT] ------------------------------------------ > -- > > ---------------------------------- > > vRanger cuts backup time in half-while increasing security. > > With the market-leading solution for virtual backup and recovery, you > > get blazing-fast, flexible, and affordable data protection. > > Download your free trial now. > > http://p.sf.net/sfu/quest- > > d2dcopy1_______________________________________________ > > Vufind-tech mailing list > > Vufind-tech@... > > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > > > > > |