View Single Post
Old 11-10-2010, 09:09 AM   #55
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ldolse View Post
Basically if the title has a single quote - ' - anywhere in the title then the cover won't display. I'm guessing the single quote needs to be escaped somehow in cover.php, but not sure how to go about that.
I can't repeat this.

The URLs passed for the cover are already escaped. (See book_base.php, line 31). For example, the URL I see for the book "1632' (I messed with the title) is
index.php?m=cover&c=Eric+Flint%2F_1632%27+%281262% 29%2Fcover.jpg

It could be that the file system your library is coming from does something with quotes. Check to see whether or not the quote is really there in the path, or whether it has been translated to something else.

I will be off-line for a while, so take your time. It will be the end of November before I can get back to it.
chaley is offline   Reply With Quote