So you want to CREATE a flipbook.
reating a flipbook can be easy. In most cases you will be converting an existing print document(s) from InDesign to files that will work with the flash page flip software. Source files for the flipbook can be found at: 172.26.130.13(Design Server) > PROGRESSIVE Stuff > Tutorials/Design Guides > Web > flipbook > source files
Grab the entire folder, copy/paste or drag and drop into the working folder of your print document. Itâ€™s important to keep the source files seperate from your print files.
Open your print-ready document in InDesign. Choose File > Export... Export Settings: Choose file save destination. You can save directly to pages folder, found inside of the source folder. Format: JPEG Itâ€™s important what you name your file(s) in the Save As: Bar. Make sure to no use any spaces or special characters. See Export settings below: Export > All, make sure spreads is NOT checked. Image > Quality: High Format Method: Baseline Resolution (ppi): 72 Color Space: RGB Options > Check: Embed Color Profile, Anti-alias, make sure you are NOT exporting bleed. Open any of the JPEG files that were exported in Photoshop. Choose Image > Image Size... Record the width and height in pixels of the document. Youâ€™ll need this for the next step. Also, you will want to export a pdf (smallest file size/for web) out of InDesign so it can later be downloaded from the flipbook page by the user for later use or print. Once the pdf is finished exporting place that file within your source folder.
Open Pages.xml file in Dreamweaver or text editing software from within the XML folder. On the top line of this document you see a line of code. This is where some of the customization of the flipbook is controlled and entered. This is also where we can tell the document what size it needs to render the pages. You’ll see: <content width=”612” height=”792”... Enter the width and height values you recorded from Photoshop. Some of the other attributes you can customize or control are: background color, loader color, background image, panel color, button color, text color, full screen, and share with a friend. Below the top line of code you will see consecutive lines of this code: <page src=”pages/howtoflipbook.jpg”/> Each one of these lines represents a page. The XML document is used to to call the JPEG files you exported from InDesign from your pages folder and into the flash flipbook file.
XML (continued) 3
What ever the export file name was from InDesign will need to be replace after the / and before the . This is highlighted in green: <page src=”pages/howtoflipbook.jpg”/> So for example, if you named your document dolphins.jpg when exporting out of InDesign, your pages folder will have several numbered files in ascending order: dolphins.jpg dolphins2.jpg dolphins3.jpg dolphins4.jpg Now you will need to replace the code so that it reflects your files in the pages folder. For example if you had 4 pages in your document and/or pages folder the XML code would look like: <page src=”pages/dolphins.jpg”/> <page src=”pages/dolphins2.jpg”/> <page src=”pages/dolphins3.jpg”/> <page src=”pages/dolphins4.jpg”/> Save your XML document.
Now, you should be ready to view your newly created flipbook in live action! Go to the source folder, you will see several html documents: links.html – Controls the styling of the download links. This is also where the path of the downloadable pdf is entered. book.html – This is the document that holds the flash document that is displaying your exported JPEG pages. index.html – This holds both the links.html and book.html documents. This is also where you will want to include the tile of your page. Go ahead and drag either the index.html or book.html into your browser. You will see the pages loading and once complete, you should be able to flip through your document and view each page. You can either use the controls or click and hold the corners of the pages to turn. If everything checks out when testing locally, your job is complete!