Wednesday, June 30, 2010

Zoom on image in jquery

You can find nice collections of zoom on image in jquery in the given below url

http://www.professorcloud.com/mainsite/cloud-zoom.htm

http://www.tripwiremagazine.com/2010/02/15-jquery-plugins-to-create-stunning-image-zoom-effects.html

http://www.denbagus.net/jquery-image-zoom-and-tutorial/

Thanks

jqzoom conflicts with jquery

Hi All,

I used jqzoom in one of my sites and found the after using jqzoom the binding facility of jquery was not getting executed. So I tried cloud zoom and its working fine. So if anyone trying to use jqzoom keep in mind that it conflicts with jquery.

And for cloud zoom you can find this in the blow ur.

http://www.professorcloud.com/mainsite/cloud-zoom.htm

Thanks

Jawed

Change image color to sepia,grayscale,b/w

You can change the image color to sepia or b/w or grayscale with the use of GD library and PHP. Here is the sample example.

1.Change Color to Greyscale

//to black and white
if(!file_exists(‘dw-bw.png’)) {
$img = imagecreatefrompng(‘dw-manipulate-me.png’);
imagefilter($img,IMG_FILTER_GRAYSCALE);
imagepng($img,’db-bw.png’);
imagedestroy($img);
}

2. Change Color to B/W

//to negative
if(!file_exists(‘dw-negative.png’)) {
$img = imagecreatefrompng(‘dw-manipulate-me.png’);
imagefilter($img,IMG_FILTER_NEGATE);
imagepng($img,’db-negative.png’);
imagedestroy($img);
}

3. Change Color to Sepia

//to black and white, then sepia
if(!file_exists(‘dw-sepia.png’)) {
$img = imagecreatefrompng(‘dw-manipulate-me.png’);
imagefilter($img,IMG_FILTER_GRAYSCALE);
imagefilter($img,IMG_FILTER_COLORIZE,100,50,0);
imagepng($img,’db-sepia.png’);
imagedestroy($img);
}

Thanks.