• 2011-01-05

    Launched my sister Sarah Peterson’s photography portfolio site today. Since it’s a photography website, I put extremely little work into the design and focused on simple navigation and organization.

    The horizontal accordion slider on the main page was achieved using a combination of view templates, jQuery, and hSlides. There is at least one horizontal accordion module out there now, but it comes with a number of dependencies that seemed like overkill for such a simple project and it didn’t feel stable.

    Everything else about the site is relatively straightforward. All of the images are dynamically resized with the usual trio of imagecache, imageapi, and imagefield. I modified node templates so that instead of displaying images, the images are displayed as the backgrounds of divs. This is to prevent users from easily saving images and using them elsewhere without permission. Obviously there are many ways still to get the files, but this inconvenience seems good enough to thwart most casual users.

  • Archive / RSS