Dharma Records

A record of Ānandajoti’s publication work.

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

Photo Dharma now supports Tablets and Phones

Posted on June 9, 2013June 5, 2013 by Ānandajoti

I started the Photo Dharma website prior to the tablet/smartphone revolution, which has changed the way people access the web enormously. At that time I designed the site to be seen on desktops and laptops where a certain width to the page could be guaranteed.

Because of that the thumbnails were organised into tables, with four thumbnails to a row, which made a nice stable presentation. They would then more or less appear as in the screenshot below (the screenshots are roughly 1/2 of actual size to fit into the post).

Four Images Wide

This is fine as long as the page is 960px+, but when people are accessing the site with tablets or smartphones the size of the screen can be much smaller than that, and so it was time to think again.

Fortunately I found some good css code courtesy of the Yahoo! developers on the Pure CSS page. There they have code to accomplish more than one sort of job, but what I wanted was the Grids CSS, which makes grids (or tables) which are responsive to the screen size.

When utilising that code if the screen size drops below a certain pixel rate the grids collapse, and we have just one column, as below:

One Image Wide

That was a great improvement, but a little crude as it is a kind of “all-or-nothing” solution. With a little bit of hacking at the code I made it collapse to 2 columns on a larger tablet, and only collpase to one column on smartphone screens.

Two Images Wide

I had to remake all the pages on the site (around 200), which took quite a lot of time, but I don’t have a tablet or smartphone myself and I would appreciate some feedback from those who do, and can try it out.

I hope these improvements will give access to the site for a lot of people who otherwise would have difficulty viewing it and can now view photographs of our wonderful Buddhist heritage.

1 thought on “Photo Dharma now supports Tablets and Phones”

  1. Vince says:
    June 14, 2013 at 2:44 pm

    this website is plenty of useful information and Dhamma teachings. Don’t know why I have never visit this site in the past. Although I have found it while looking for a dual monitor application, which is quite funny 🙂
    Thanks for you work. I will come back often, there are videos and teachings very interesting.

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

  • New Book: The Reliefs of Buddhavanam
  • Photographs from Phanigiri Hilltop Monastery
  • Photos from Buddhavanam, Buddha’s Grove, 2
  • Photos from Buddhavanam, Buddha’s Grove, 1
  • My Big Fail: Kanaganahalli
  • Sites Around Visakhapatnam
  • Photographs from Bojjannakonda (Sankaram)
  • Photographs from Cave and Stūpa Sites in Andhra Pradesh
  • Photographs from Amarāvatī and Nāgārjunakoṇḍa
  • Photos of Dr Ambedkar Statues and His Life Story

Top Ten Tags

Buddha

Dhamma

Sangha

India

China

Indonesia

Thailand

Temples

Wisdom

Ethics

Sponsorship

 hosting sponsored by exabytes.my 

Random Posts

  • Sanitation for Villages in Bodhgaya
  • Final Set of Photos from Bali: The Collections
  • BWV 055: The True Friend
  • Known Nun Disciples of the Buddha
  • BWV 016: The Priority of Truth
  • Photos from the Mahābodhi Vihāra, Hyderabad
  • Chiang Mai: Photos of Temples in the Old City
  • Uposatha Calendar 2014/2556
  • Safeguard Recitals, Revised and Enlarged 3rd Edition
  • BWV 062: Ungratefulness gets its Just Desserts

Recent Posts

  • New Book: The Reliefs of Buddhavanam
  • Photographs from Phanigiri Hilltop Monastery
  • Photos from Buddhavanam, Buddha’s Grove, 2
  • Photos from Buddhavanam, Buddha’s Grove, 1
  • My Big Fail: Kanaganahalli
  • Sites Around Visakhapatnam
  • Photographs from Bojjannakonda (Sankaram)
  • Photographs from Cave and Stūpa Sites in Andhra Pradesh
  • Photographs from Amarāvatī and Nāgārjunakoṇḍa
  • Photos of Dr Ambedkar Statues and His Life Story

Related Posts:

  • New Design and Upgrade of Photo Dharma Website
  • Redesign of Photo Dharma Website
  • New Website: Dharma Documentaries
  • Download sets of Photos on Photo Dharma
  • One Page Dhamma Website
  • Pan and Zoom Slideshows now on all pages on the…
  • My Not-So-Square Monitor
  • Website Statistics
  • Updated Audio Page on Ancient Buddhist Texts
  • Photographs from Nalanda University
© 2025 Dharma Records | Powered by Minimalist Blog WordPress Theme