Thanks! This is exactly the idea I was looking for! It'll work well for an unknown total number of images.
Charlie Fiskeaux II Media Designer The Creative Group www.cre8tivegroup.com 859/858-9054x29 ----- Original Message ----- From: "Rob Romanek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 3:42 PM Subject: Re: <lingo-l> thumbnail grid in image browser If you will be showing a fixed number of thumbnails on the screen at any given time then this can be accomplished relatively simply using allocated sprites for the grid, without worrying about running out of channels. Basically you would do this through a sprite manager object where you have each sprite which is a thumbnail holder register itself with the manager when it is born. So if you had a 3X4 grid 12 sprites would register themselves in the order they appear on the grid. The manager then tracks what group of twelve thumnails to present at any given time and swaps images accordingly. This can tie nicely into your search system because it can dynamically feed a linear list of thumbnails to the manager which is uses to know what and how much to display. I've found this approach to be very fast and quite flexible if I want more squares in the grid I just allocate more sprites in the correct order have them register themselves and the manager takes care of the rest. I'm sure the imaging approach would work too but I like the "tangibleness" that sprites give me. hth, Rob Charlie Fiskeaux II wrote: > I'm working on an image browser, so that someone can browse through an > archive of images and search them via keywords, and I'm trying to decide the > best way to create the grid of thumbnails. So far it seems like the best > solution would be using Imaging Lingo to combine all of the thumbnails and > their names onto a single large image, but I wanted to see what y'all > thought. The grid will have to be scrollable, since only four rows will be > visible at once, and I want it to not have a physical limit on the number of > thumbnails it can display (like running out of the 1000 sprite channels). > Suggestions? Comments? > > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
