Dharma Records

A record of Ānandajoti’s publication work.

Menu
  • Notices
  • Talks
  • Texts
  • Audio
  • Video
  • Photos
  • Ecology
  • Culture
  • Archives
  • About
Menu

Pan and Zoom style Slidehows on the Photo Dharma website

Posted on January 6, 2013January 2, 2013 by Ānandajoti

Wowslider

I have recently implemented a new type of slideshow on certain pages in the Photo Dharma website, which pan and zoom the photographs in Ken Burns style, which effectively animates the photographs.

The implementation is the power of the WOW slider, which builds on the jQuery javascript framework. The slider itself has many other effects, like blinds, blast, fade, squares and more, but the one that impressed me was the Ken Burns effect.

The slider has some limitations, which prevents me from using it in every page. The main one is that the photos all have to have the same aspect ratio. Most of mine are 4×3 (landscape), but not all, quite a few are 3×4 (portrait).

When the slider sets those up it simply takes an arbitrary segment out of the center of the photograph, which may or may not be where it should be cut. Because of this I have trimmed the photographs first, and occasionally left one or two out, which wouldn’t work in landscape ratio.

A second limitation, at least from a developers’ point of view, is that you have to fix the size of the photograph (for instance 800px x 600px), and it will show at that size, no matter what the screen size is on the client side. I got round that problem by writing a function I will publish in a separate post tomorrow.

The slider has been implemented in the Best of… series and a couple of other places at present. The original slideshow, without animations but with the whole photograph, is still available on the same pages.

To see it in action go to one or other of the following pages (click on Play Moving Slideshow):

  • Best of Cambodia
  • Best of Indonesia
  • Best of Malaysia
  • Best of Myanmar
  • Best of Thailand

another implementation which is particularly effective is on wide angle landscapes like these:

  • Landscapes and Skyscapes
  • The Lake Gardens

where the ratio of the photographs is 212:100

On those pages click on the Play Moving Slideshow link and enjoy the effect.

Leave a Reply

Your email address will not be published. Required fields are marked *

QR code

SHORTLINK

Donations

there are many expenses involved in the making of this website. Even a small donation really helps to maintain and expand the site.

Recent Posts

  • Dhammanīti, Dhamma Wisdom Published
  • Childers’ On Sandhi in Pali Published
  • Checkboxes for Long Works on Ancient Buddhist Texts
  • Dharma Storybooks on Photo Dharma
  • The Exalted Chapters, A Simplified Translation of the Udānavarga
  • Translation of the Sanskrit Udānavarga Published
  • The Lives of Inspiring Chinese Nuns
  • Five New Albums on Photo Dharma
  • Henri van Zeyst’s Contributions to the Sri Lankan Encyclopedia of Buddhism
  • The Reliefs of Buddhavanam eBook Published

Top Ten Tags

Buddha

Dhamma

Sangha

India

China

Indonesia

Thailand

Temples

Wisdom

Ethics

Other Websites

for my other websites please see my
LINKTREE

Sponsorship

 hosting sponsored by exabytes.my 

Random Posts

  • BWV 065: Overstaying One’s Welcome
  • First Days in East Java
  • Audio Flipbook of The Life of the Victorious Buddha
  • Jātaka Tales of the Buddha – The Goat that Laughed and Wept
  • Ancient Buddhist Inscriptions in Malaysia
  • Two New Additions to the Reference Section of Ancient Buddhist Texts
  • Photographs from Wat Pho
  • Pan and Zoom style Slidehows on the Photo Dharma website
  • Publication of Jātaka and Avadāna Stories from Borobudur
  • Educare Programme at Bodhi Lankarama, Taiping, 2010

Recent Posts

  • Dhammanīti, Dhamma Wisdom Published
  • Childers’ On Sandhi in Pali Published
  • Checkboxes for Long Works on Ancient Buddhist Texts
  • Dharma Storybooks on Photo Dharma
  • The Exalted Chapters, A Simplified Translation of the Udānavarga
  • Translation of the Sanskrit Udānavarga Published
  • The Lives of Inspiring Chinese Nuns
  • Five New Albums on Photo Dharma
  • Henri van Zeyst’s Contributions to the Sri Lankan Encyclopedia of Buddhism
  • The Reliefs of Buddhavanam eBook Published

Related Posts:

  • Pan and Zoom Slideshows now on all pages on the…
  • Lazy Loading on Photo Dharma
  • Resize images to Fit Browser Window
  • New Design and Upgrade of Photo Dharma Website
  • Redesign of Photo Dharma Website
  • Facebook Comments: Dynamic Urls on Static Pages
  • Download sets of Photos on Photo Dharma
  • Photo Dharma
  • Photographs from Nalanda University
  • Video of Murals in Viharn Lai Kham, Wat Phra Singh,…
© 2026 Dharma Records | Powered by Minimalist Blog WordPress Theme