hi Harris
the best form to show repeated fields is with the following code.
get_image creates a thumbnail of the image with the parameters that
were defined for the field (Max Height, Max Width or Custom) and
returns tag of img
<?php
$images = getFieldOrder(tekimg');
foreach($images as $image){
echo "<a href='" .get('tekimg',1,$image). "'rel='lightbox'>";
echo get_image('tekimg',1,$image);
echo "</a>";
}
?>
if your you want to create a thumbnail with other parameters you can
use gen_image. example
$new_params = array("w"=> 100, "h" => 100, "zc" => 1, "q" => 1); //
these are parameters for phpthumb
$add_tag = array("alt" => "one image", "class"=>" class_1
class_2","rel" => "one rel"); // Attributes of the tag image
echo gen_image('tekimg',1,$image,$new_params,$add_tag);
echo gen_image('tekimg',1,$image,NULL,$add_tag);
echo gen_image('tekimg',1,$image,$new_params);
On Oct 2, 11:06 pm, Harris <
hhf...@gmail.com> wrote:
> Sorry, I was making questions at thehttp://
magicfields.org/