Using a template repeater, I am trying to display all pictures in a particular folder. Currently as I have it the template is simply a paintable canvas. On button click, the path to the all .jpg files that I want to display is found using glob, and then this information is passed to the template repeater dataset, and the paintable canvases display these pictures.
This method seems to display the images correctly, but it is terribly slow. I can only assume this is due to the repainting of 20-30 images.
Should I be using a different method of doing this? What would be the most efficient way? Should I be saving BLOB files instead of using paintable canvases?
Lastly, I been doing a very good job in freezing the designer window with scripts. Is there any way to force stop execution of scripts or go straight back into preview mode? It’s frustrating needing to force quit and potentially lose work because of an infinite loop or a dataset too big to hangle.
Thanks for the help,