Warning: ini_get_all() has been disabled for security reasons in /home/eatyourg/public_html/wp-includes/load.php on line 1160

Warning: ini_get_all() has been disabled for security reasons in /home/eatyourg/public_html/wp-includes/load.php on line 1160

Warning: Cannot modify header information - headers already sent by (output started at /home/eatyourg/public_html/wp-includes/load.php:1160) in /home/eatyourg/public_html/wp-includes/feed-rss2-comments.php on line 8
Comments on: Adding a magnifier to images with CSS and JavaScript http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html Actually, I am a rocket scientist Wed, 04 Feb 2015 23:54:43 +0000 hourly 1 https://wordpress.org/?v=5.1.19 By: Michael http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2546 Wed, 03 Aug 2011 00:08:22 +0000 http://eatyourgreens.org.uk/?p=87#comment-2546 Will need to hack the drop and drop code but other than that it’s a good solution to solve our problem, well done. Need to determine its application on eCommerce websites, something to think about.

]]>
By: Katherine http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2532 Tue, 21 Jun 2011 09:10:56 +0000 http://eatyourgreens.org.uk/?p=87#comment-2532 Thank you for your quick answer 🙂
I had not thought of the the aspect ratio between the two images but it sounds very logical and I am sure that will fix the problem.
Thank you again for your help and a great script!
Katherine

]]>
By: Jim http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2531 Mon, 20 Jun 2011 09:38:51 +0000 http://eatyourgreens.org.uk/?p=87#comment-2531 Hi Katherine,

The two images in your example are not quite the same aspect ratio.

The small image is 310 by 433 pixels. 310/433 = 0.72.
The large image is 1785 by 2895 pixels. 1785/2895 = 0.62.

I think that is causing the problem. The script is scaling coordinates from the small image, assuming that the height and width of the large image are in the same ratio as the small image. I would suggest replacing the small image with one that is a scaled copy of the large image. That might fix the problem.

]]>
By: Katherine http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2530 Sun, 19 Jun 2011 21:19:47 +0000 http://eatyourgreens.org.uk/?p=87#comment-2530 Hello,
A really great Ipad compatible script! Thank you for sharing it :o)
I am bumping in only one little problem I do not seem able to fix. When the zoom is turned on, it only shows 2/3 of the length of the large image. What should I do to correct this?
Thanks again,
Katherine

]]>
By: Jimbo http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2419 Wed, 19 May 2010 23:14:18 +0000 http://eatyourgreens.org.uk/?p=87#comment-2419 Hi Joy, I think simpleviewer uses Flash to display Flickr images, so it wouldn’t work with this javascript.

]]>
By: Joy http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-2418 Wed, 19 May 2010 23:00:17 +0000 http://eatyourgreens.org.uk/?p=87#comment-2418 Great code! Could this be implemented with something like simpleviewer that I use to display my flickr images on the website?

]]>
By: createmo http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-264 Sun, 02 Nov 2008 13:45:11 +0000 http://eatyourgreens.org.uk/?p=87#comment-264 Thank you for your website 🙂
I made on photoshop backgrounds for myspace,youtube and even more
my backgrounds:http://tinyurl.com/5cy5cq
have a great day and thank you again!

]]>
By: Jim http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-123 Tue, 08 Jul 2008 00:01:07 +0000 http://eatyourgreens.org.uk/?p=87#comment-123 Hi Jennifer,

It’s hard to say without seeing an example. Does my example above work in IE for you?

]]>
By: Jennifer http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-122 Mon, 07 Jul 2008 23:35:19 +0000 http://eatyourgreens.org.uk/?p=87#comment-122 Mine isn’t working IE. I’m assuming I zigged when I should have zagged. Thoughts?

🙁

]]>
By: Tom http://eatyourgreens.org.uk/archives/2007/08/adding_a_magnif.html/comment-page-1#comment-121 Fri, 20 Jun 2008 12:52:40 +0000 http://eatyourgreens.org.uk/?p=87#comment-121 That’s very cool I like it. Don’t know where I’d use it just yet, but I’m sure I’ll think of something 🙂 Very cool.

]]>