你好:
1。 我使用了 File Viewer的模組,預覽時出現此錯誤訊息
Notice:Trying to get property of non-object 於 include() (/var/www/html/drupal/sites/all/modules/fileviewer/theme/bookreader-viewer.tpl.php 中的第 28 行)。
Warning:getimagesize(): Filename cannot be empty 於 include() (/var/www/html/drupal/sites/all/modules/fileviewer/theme/bookreader-viewer.tpl.php 中的第 28 行)。
請問一下要如何解決呢 ?
2。需要一個書城書籍內容預覽功能的模組,可以介紹好用的模組嗎 ?
I think using ImageMagic will
I think using ImageMagic will solve this issues, as some times some servers do not have "pdftoppm ",
pdftoppm is used in fileviewer.module in fileviewer_pdftopng() function
my server is not converting the pdf to png using this command, but it does using the "convert" program
convert file.pdf file.png
File Viewer应该用到了ImageMagic的一些功能,你的服务器端没有安装相应的程序,导致了这样的问题。
不知道你要实现什么样的图书预览功能?
類似 1. http://www.turnjs.com/
類似
1. http://www.turnjs.com/
或
2. http://www.books.com.tw/products/0010610678
的預覽功能
这只是一个js效果而已,集成一下就可以了。
这只是一个js效果而已,集成一下就可以了。