malsup/cycle — Issue #91: Window resize problem
Author: baccano77
Created: 2012-01-12 17:19:19+00:00
State: open

Hi, here's the issue:
I have a gallery with percentage height and width.
When i resize the browser, the gallery resizes as well but here's the problem:
If i shrink the browser, the images also shrink but in the transition they take the same amount of gap as if they were larger,
the opposite problem occurs if i enlarge the browser's window, when the next image starts to come in it overlaps the previous one.
How can i fix this problem?
Here's the config code:

$("#imagegallery").cycle({
timeout: 0,
fx: 'scrollHorz',
next: '#next',
prev: '#prev',
containerResize: true,
fit: true,
aspect: true,
scaling: false,
slideResize: false

});

Thank you in advance.