Loading a LONG list with images
Dan Friedman
dan at clearvisiontech.com
Mon Feb 21 18:41:45 EST 2022
Tom,
Yes, assuming that is a DG in your video, that's just what I'm looking to do!
-Dan
On 2/21/22, 3:22 PM, "use-livecode on behalf of Tom Glod via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
Dan can you check this video and the pixabay search example?
https://youtu.be/jN2bQbhQ0L8?t=216
Is this what you have in mind?
These images are loaded as the row comes into view.
On Mon, Feb 21, 2022 at 6:07 PM Dan Friedman via use-livecode <
use-livecode at lists.runrev.com> wrote:
> 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
>
> _______________________________________________
> 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
>
_______________________________________________
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