-
Notifications
You must be signed in to change notification settings - Fork 35
Mouseover Zoom not working #33
Comments
try to set direct urls to images. |
hey there again, thank you for your prompt answer, tried it but it doesnt work... ps: "NetworkError: 403 Forbidden - https://moaddel.googlecode.com/files/up.png" |
if it helps: console log (PhotoWall._photos[container.attr('id')]) |
figured it out: var item = PhotoWall._photos[container.attr('id')]; so i split the id, from image-XX to XX, then substracted one to start counting from zero and used this number as a key to the data or PhotoWall._photos array,
it was probably my mistake as i messed the id:id thingy, but i cannot figure out how it's supposed to work... anyways, if you got a solution to this, i'd like to use your original code, else im fixed and working :) thanx for the support and this great script! |
Please give url to the page with this problem |
i also just noticed that zooming the page (crtl+scroll) messes up stuff... |
Zooming and gallery is working fine in chrome. Which browser do you use? Kindly yours, LinkedIn http://ua.linkedin.com/in/creotiv On Wed, Sep 18, 2013 at 3:11 PM, krasatos [email protected] wrote:
|
hey, i am trying to load the plugin with local images.
a php code is reading the directory of photos and outputs something like this:
Everything works perfect, but when i hover an image i get this error in the console:
TypeError: item is undefined
http://localhost/noi2/jquery-photowall/jquery-photowall.js
Line 410
which hits in the .js file on these lines:
var item = PhotoWall._photos[container.attr('id')];
// Preload zoomed image and replace old only when it loaded.
var bigIMG = $('');
bigIMG.attr('src',item.th.zoom_src);
any ideas?
thanks in advance
The text was updated successfully, but these errors were encountered: