Open GoogleCodeExporter opened 9 years ago
The popups you see on the screenshots is debug code i inserted to see what
width/heights are being set.
You can clearly see the different values on the same pages.
Original comment by jeroen.v...@gmail.com
on 28 May 2013 at 9:15
Can you please provide the configuration you use for PWI? If you do not want it
to be public (yet) you can also mail it me at borkhuis at gmail.
Original comment by borkh...@gmail.com
on 28 May 2013 at 9:19
I did have a look at this, however I cannot reproduce it. It probably also
depends on the speed of the internet connection. When images are not loaded
quickly enough the script cannot calculate the height of the div.
I will have a look at this, to see if I can do something about this.
Original comment by borkh...@gmail.com
on 1 Jun 2013 at 6:02
You can try to see if you can reproduce on a live install:
http://www.atriac.be/drupal/picasaweb/albums
Original comment by jeroen.v...@gmail.com
on 1 Jun 2013 at 6:14
Is it possible to wait for a document loaded event, or incorporate a check to
see if the images have loaded ?
Original comment by jeroen.v...@gmail.com
on 1 Jun 2013 at 6:15
Exploring my last comment further, i have the following suggestion, using
another jquery plugin (but i assume you could just copy it's functionality into
your project) :
- Download and add this plugin:
https://github.com/alexanderdickson/waitForImages/blob/master/src/jquery.waitfor
images.js
Surround each call to alignPictures as shown below:
$('.pwi_container').waitForImages(function() {
alignPictures('div.pwi_photo');
} );
This way, the alignment won't start until all pictures have been loaded.
The only possible 'drawback' is that you will see the images move on the
screen, but i'm assuming that would have been the case in the current setup, so
no harm there ?
Hope this helps !
Original comment by jeroen.v...@gmail.com
on 1 Jun 2013 at 10:41
Hi,
I thought I had this issue, inserted the code but now I have slower alligning
images, but the problem is my thumbnails show as lines, and only after pressing
refresh all thumbnails come out
Original comment by marijn.g...@gmail.com
on 9 Oct 2013 at 5:54
Original issue reported on code.google.com by
jeroen.v...@gmail.com
on 28 May 2013 at 9:14Attachments: