PDA

View Full Version : Dynamic Gallery.. but how?



schambit
30 Aug 2007, 7:59 AM
Hello

i want to make a dynamic gallery.
so on my site i have:
<div id="thegrid">here is my grid, that shows all the galleries</div>
<div id="theuploaddialog">here is my button that'll show up my uplaod dialog (the one by MaximGB)</div>
<div id="thegallery">here will be my gallery</div>

there we go, everything works fine. i select a gallery in the gird or if i upload a new image to a gallery "thegallery" reloads (using ajax) and shows up all the images belonging to that gallery.
but now lets say a user has a lot of images in this gallery. loading all the images and show them in "thegallery" will take its time...
so i would like to do it like this:
i select a gallery
all the images of this gallery will be saved in the clients memory
show the galleryimages by using the saved images from the clients RAM.
so i dont have to reload all the images again and again after i uploaded an image or select a new gallery, so everything should work much faster.

is there a way to do that with extjs?