Skip to content

Support Jaipho

Jaipho beta is a free script and we hope that you enjoy using it. If you do, here is a way that you can show us that you appreciate the hard work that we've done for you!





How to change thumbnail size?

October 11, 2011 by Tole

Let's say that you want to change thumbnails size from 75px to 150px for iPad. Right now you can accomplish it in two easy steps (bellow), but in the future it should be configurable.

1. In jaipho/Themes/Default/jaipho-ipad.css update the .thumbnail css selector with new size

.thumbnail
{
 ...
 height:150px;
 width:150px;
}

2. If you are using the Pipho for php generated gallery, applay new values in php class DeviceInfo (library/Pipho/DeviceInfo.php)

...
 else if (self::isIpad())
 {
  $info->thumbsSize             =       150;
  $info->slideMaxSize           =       1024;
 }
....

Comments

I do not have got an iPad to

October 15, 2011 by Pamela (not verified), 1 year 35 weeks ago
Comment id: 596

I do not have got an iPad to test it ;-) but thank you to share this "how to"