wow that's way faster. Now the site loads in 5-10 seconds at most. I didn't have any problems browsing the sets, images were always loaded ahed. The only issue I found was that the navigation arrow image didn't appear until all images in the set were loaded.
nice work! Alexandre Plennevaux wrote: > hi ricardo, > > here is my try at it, let me know if it is better. What i did is : > > - load the first image of each set (as it is needed for the hover state) > - use a "placeholder.gif" file put as src attribute value for all > images, the real src being stored as a custom attribute > (realsrc="http://path/to/my/image.jpg" ) and on album selection, > replace each of the album images src attribute with the realsrc value. > > http://www.lisapram.com/index.17.php > > > thanks! > > alex > > On Fri, Oct 31, 2008 at 5:41 AM, ricardobeat <[EMAIL PROTECTED]> wrote: > > > > I think a good compromise would be loading only the few first images > > for each set, an arbitrary number, then load the rest on demand as > > each set is opened. Simple and effective, without wasting bandwidth, > > and should be easier to do. > > > > On Oct 30, 8:22 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> > > wrote: > >> @criteriadesign > >> > >> " Once you have done that, you just need to load the images in the > >> background and display a functioning website for the visitor." > >> > >> I'm trying to see how i could modify my app so thati t works like this: > >> > >> 1/ load the json data > >> 2/ generate the barcode (a UL with LI's , each LI is a bar that will > >> contain images) > >> 3/ when user clicks on a barcode it loads all the images of that album > >> 4/ when the user is not "active" (meaning he's idle, looking at > >> pictures) load the other albums' images in the background > >> > >> It is part 4 that i'm a bit lost on how to achieve it. Would someone > >> care to describe how to do that? > >> > >> If it may help, i also output the barcode complete html (UL, LI, and > >> IMG tags) in a NOSCRIPT tag for those without js, so maybe i can use > >> those for the background loading? > >> > >> On Mon, Oct 27, 2008 at 9:37 PM, Alexandre Plennevaux > >> > >> <[EMAIL PROTECTED]> wrote: > >> > @-b: given the comments above, i intend to implement this background > >> > image loading. thanks for taking time to review the website and the > >> > comment! > >> > >> > On Mon, Oct 27, 2008 at 9:34 PM, [EMAIL PROTECTED] > >> > <[EMAIL PROTECTED]> wrote: > >> > >> >> I tried loading the site several times and it timed out after loading > >> >> 88 or 89 images. I was left with a non-functioning web page. > >> > >> >> As a veteran software developer, I can assure you that there are > >> >> compromises you can make that would make the website usable and still > >> >> deliver the vision of the client. > >> > >> >> It appears that you are dealing with a fixed data set. You can derive > >> >> all UI elements that depend on the full data set offline. Once you > >> >> have done that, you just need to load the images in the background and > >> >> display a functioning website for the visitor. > >> > >> >> Regards, > >> > >> >> -b > >> > >> >> On Oct 24, 2:05 pm, pixeline <[EMAIL PROTECTED]> wrote: > >> >>> Hi mates, > >> > >> >>> May i ask you guys to have a look at my latest project,a bit on the > >> >>> experimental side in terms of UI : a barcode image gallery for a > >> >>> spanish photographer: http://www.pixeline.be/test/lisapram/ > >> > >> >>> Let me know of any bugs you find? > >> > >> >>> AFAIK everything should run smooth (except for the long loading time). > >> > >> >>> Please indicate your OS platform, browser and hardware specs. > >> > >> >>> The initial load time is quite long so stick around please... > >> > >> >>> Looking forward to your feedback! > >> > >> >>> Thanks a lot, > >> > >> >>> Alexandre