[Clipart] Transitioning to theautomatic/dynamicscreenshotsgallery

Nicu Buculei nicu at apsro.com
Mon Sep 27 23:02:31 PDT 2004


Nathan Eady wrote:
> Nicu Buculei wrote:
> 
>> just a thought: how hard is to make the list display on multiple pages 
>> if we have a large number of screenshots?
> 
> Not hard.  Something like this:
> 
> @imagestoshow = @images[$input{startat}
>    .. ($input{startat} + $CONFIG{max_images_per_page}];
> 
> 
> And then at the bottom of the page you put links back to the same
> script with ?startat=some_calculated_value appended to the URI.

this is what i presumed, but wanted to give you the opportunity to say 
that is simple

> I can code that up this week, if it's what we want to do.  There
> are a small number of corner cases that it blithely ignores, which
> could e.g. cause the user to skip over an image between pages if
> someone else has uploaded a screenshot while they were viewing the
> page, but none of the consequences of that are going to be
> earthshatteringly bad, and it saves us from needing to store any
> state about what images the user has seen.
> 
> What do you think should be the default value for max_images_per_page?

looking at the current version of tha page, with 6 images on it, i think 
something areound 10 is good

-- 
nicu



More information about the clipart mailing list