Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Image view zoom help in php (https://www.warriorforum.com/programming/813215-image-view-zoom-help-php.html)

skillboyz 11th July 2013 08:08 PM

Image view zoom help in php
 
Hello people

i have made gallery of products in php and its already displaying images. What i want to do is to add zoom facility when i move mouse over the image.

Is it possible to do it using php , or should i use another language?

Iluminada 11th July 2013 08:15 PM

Re: Image view zoom help in php
 
You should add css style to your image fetching tag here is a css example

HTML Code:

.myimage{
width:30%;
height:30%;
opacity:0.3;
border:2px solid black;
}


skillboyz 11th July 2013 08:18 PM

Re: Image view zoom help in php
 
Quote:

Originally Posted by Iluminada (Post 8270390)
You should add css style to your image fetching tag here is a css example

HTML Code:

.myimage{
width:30%;
height:30%;
opacity:0.3;
border:2px solid black;
}


I have kept this code in css but how can i implement into my image where i am viewing image?

Brandon Tanner 11th July 2013 09:10 PM

Re: Image view zoom help in php
 
Lots of jQuery options for that. Check out this list...

Top 10 Outstanding Image Zooming jQuery Scripts

octalsoftware 12th July 2013 01:07 AM

Re: Image view zoom help in php
 
with the helo of jquery you can do this ..... easily
please check this link .... Dynamic Drive DHTML Scripts- Sticky Tooltip script


All times are GMT -6. The time now is 06:55 PM.