Thats it's a good question , who can help ?
I have a php script that read a directory take the images in jpg format and put directly under a gallery .
If you click in some image inside this gallery you can see in full mode (or the size of the picture) .
Very well , axley has 2 parts.
1 - php
2 - tpl pages .
Under that tpl pages my pictures are been showed using this variable .
{images_picture} (Picture itself)
{images_name} (Name of picture xxxxxx.jpg)
Ok then .
Anyone know a way to put a brightness control and a zoom factor under this tpl or send to a php that make this .
I see here in the board a script that takes a portion of a gif image and using a BIG one and a small one make some kind of zoom .
But i just have the big one , and can't make automatically the small one how use then ?
the code is :
<?php
Header( "Content-type: image/gif");
$bigmap=ImageCreateFromGif("caligran.gif");
$image_out=ImageCreate(200,96);
$factor=3.75;
$posx=floor($x$factor-100);
$posy=floor($y$factor-48);
$copia=ImageCopyResized($image_out, $bigmap, 0, 0, $posx, $posy, 200, 96, 200, 96);
ImageGif($image_out);
ImageDestroy($bigmap);
ImageDestroy($image_out);
?>
Can someone help ? Thanks .