Loading a LONG list with images
Dan Friedman
dan at clearvisiontech.com
Mon Feb 21 18:06:37 EST 2022
Richard,
Probably not over a couple thousand. The images are square -- they need to be resized to the DG template image size, but not scaled (H vs W).
-Dan
On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gaskin via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
How many images?
I once made a solution for 3,000 images, but it may not scale well above
8,000 or so depending on memory and connection speed.
--
Richard Gaskin
Fourth World Systems
Dan Friedman wrote:
> Does anyone have any answers to the issue of loading a long list with
> images so that it loads images "as needed" like a webpage does.
>
> I have a DataGrid with several hundred rows. Each row has a specific
> image that is to be displayed with that row (like a list of songs).
> The image is loaded from the web. Is there a method to load the
> DataGrid and only load the images for the rows that are shown? And,
> when you scroll the grid, the images for the newly shown rows are then
> loaded. The loading need to happen somehow without halting the
> scrolling or making it stutter.
>
> I hope that makes sense!
> -Dan
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list