An automated script to build beautiful HTML5 portfolios that photographers and other visual artists can use while offline on their iOS devices.
Portfolio Builder is a tool that let's you automatically and easily build portfolio of your images for offline access on your iPad, iPhone or iPod touch. It works by creating an HTML5 and cache file so that you can add a bookmark to your homescreen.
To build a portfolio
Note: this is currently not very user friendly, we're working on a better way to do this.
Preparing your portfolio
- Generate versions of your images optimized for digital display. We reccomend sizing your images at 1024x768 pixels or a similar size. However any size will work.
- Generate a square thumbnail sized at least at 300 x 300 pixels. Please note the thumbnail needs the exact same name as the full size image.
- Move the full size images into a directory called "images."
- Move the thumbnails into a directory called "thumbs."
Building the portfolio
- Ensure that PHP5 is installed on your system
- Navigate to the directory where this file is located
- Run the command php -f build.php title="Your Portfolio Name" 4 The script will then output a string like "/var/www/jdavis/portfolio/ 6afeccacdd8aea79e3bb55fb07b5aa423dfc728d44d3fef5d50bdb59cd98e999.html", this is where your newly generated portfolio is located. Copy all the files to a location that is accessiable by your iOS device.
- Fire up Safari and bookmark the page by adding it to the home screen.
- Click on your newly bookmarked page, you now have a portfolio accessibale offline at any time.