DownloadClass to convert PDF file to JPG files and viewing the jpg files as flip book. Class also helps to zip flip book content into a single package. 
Requirements
Class requires "ImageMagicK, GhostScript and Zip" to be installed in the server.
apt-get install imagemagick
apt-get install zip 
Tested in ubuntu (Linux environment). 
Usage
Create following folder and  give write permission CHMOD 777
- 
zip folder
 
- 
book folder
 
- 
book/img folder
 
 
Place index.htm inside the folder "book".
provides css effect and book flip effect. 
Finally open config.php and change the variables
 |