Joe, Since the votes are submitted to the server with the HTML POST method, you can't just hit F5 or the "Refresh" button in your browser because that would resubmit the votes you made on the previous five pics. One very simple solution would be a simple HTML link reading "reload page" which refresh the page without resubmitting the data.
But my point was that this problem emerge because the page is heavy to load. Making the voting page smaller and faster to load would take the whole problem away. The main reason for the size of the voting page is that they preload all the full-size images while loading the thumbnail view, whether you want to look at them or not. Landscape-oriented images with 600 pixels vertically will typically have about 900 pixels horizontally. This means five images around 250-300 KB each. The preloading of the images takes place _before_ the loading of the last javascript controlling the voting. That's why it screws up if you get impatient. Loading the full-size images on-demand instead of up-front would make the whole voting page a lot snappier. If, in addition, the thumbnails were a bit larger, it would reduce the need for the full-size images in the voting all together. It would also reduce the load on the web server significantly. Imagine 100 users simultaneously requesting 1.5 MB of data, as opposed to 100-200 KB... I know they have a proxy server set up, but still. However, increasing the thumbnail size will impact the web application on many levels. It's no small job... :-( Jostein Joe Tainter wondered: > You expected Pentax to do it how? when I wrote: > In addition, it is constructed so that the javascript that controls > the display of the full-size images is loaded last of all, which means > that if you try to open a full-size image before the page is fully > loaded, you'll get error messages saying that some element "is null or > not an object" which means the javascript try to call a function that > hasn't been loaded yet. When that happens, you have to reload the > whole page. This is also a bit quirky. The only clean way of doing it > is to change the "submitVoteOnPhotos" in the URL into "VoteOnPhotos". > Or you can go to another page in the application, like your profile > page, and then back to the voting. -- http://www.alunfoto.no/galleri/ http://alunfoto.blogspot.com -- PDML Pentax-Discuss Mail List PDML@pdml.net http://pdml.net/mailman/listinfo/pdml_pdml.net to UNSUBSCRIBE from the PDML, please visit the link directly above and follow the directions.