dindinet / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

How can I change the loadingImage and loading text? #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While loading photos from Picasa, I'm getting a white rectangle with 'Loading' 
text. I'm trying to change this setting by adding an image url next to the 
loadingImage setting and a label value for the loading text. See example. But 
nothing changes. Any ideas? Thx. Koen.

username: '********',
          mode: 'album',
          album: **************,
          authKey: '*******',
          loadingImage: 'img/bbq.jpg',
          thumbSize: 104,
          thumbCrop: 1,
          maxResults : 14,
         showAlbumDescription: false,
         showAlbumThumbs: true,
          labels: { prev: "Vorige", next: "Volgende", loading: "Laden ..." }

Original issue reported on code.google.com by koenraad...@gmail.com on 19 Sep 2012 at 2:49

GoogleCodeExporter commented 9 years ago
You can do this by configuring BlockUI after labels:

          blockUIConfig: {
            message: "<div class='lbLoading pwi_loader'><img src='img/bbq.jpg'></div>",
            css: {
               width: '90px',
               heigth: '90px',
               border: '0px',
               padding: '1px', 
               background: 'none', 
               opacity: 1
            },
            overlayCSS: {
                opacity: 0
            }
          }, //-- overrule defaults if needed

For width and height you should fill-in the dimensions of your image.

Original comment by borkh...@gmail.com on 19 Sep 2012 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by borkh...@gmail.com on 19 Sep 2012 at 7:22

GoogleCodeExporter commented 9 years ago
That works. Thx!

Original comment by koenraad...@gmail.com on 20 Sep 2012 at 5:56