2013-01-14 19:43 | Hi,
You want a 3 column image/photo gallery instead of image on the right or left side?
1) File general.php remove: $aPhotoTypes = Array( 1 = ETC add: $aPhotoTypes = Array( 1 => $lang['Left'], 2 => $lang['Right'], 3 => $lang['Gallery'] );
2) File style.css add: #imagesList3{float:left;width:100%;} #imagesList3 li {width:33%;float:left;height:210px;}
3) File page.php add: echo $oFile->listImagesByTypes( $aData['iPage'], 3 ); // displaying images with type: gallery
4) Your language file add: $lang['Gallery'] = "Gallery";
Now you can upload images, choose 'Gallery' and images with max width or height 200px are displayed 100% in 3 columns on your site.
Guido » Quick.Cms v5.x |
2013-01-14 21:09 | It has been: http://opensolution.org/Quick.Cms/forum/galeria-w-quickcms-50,2262.html presentation: http://cms.siemianowka.pl/ |
2013-01-14 23:44 | @Jupraw: Sorry, did now know you posted (almost) the same tutorial last month.
Guido |