2012-05-09, 19:51:58
mvlcek Wrote:<?php
 $gallery = return_i18n_gallery('my-gallery-name');
 $num =count($gallery['items']);
 $pics = array();
 while (count($pics) < 3) {
  $i = rand(0,$num-1);
  if (!in_array($i,$pics)) {
   $pics[] = $i;
   get_i18n_gallery_link('my-gallery-name', array('url'=>'my-gallery-slug', 'thumb'=>$i));
  }
 }
?>
Any possibility of specifying thumbnail sizes in this? I want the thumbnails in this to be smaller than my gallery thumbnails.