I have previously posted a way to show different images in a grid on Weblogs using 5 image objects and employing DynamicCurrentControl property of the grid. That is because the need is limited only to that 5 images. http://weblogs.foxite.com/sandstorm36/2008/08/09/placing-various-images-on-a-grid/
However, now that I need to really show varying undetermined number of images on a grid based on outside image files (jpegs) in a folder, that approach is a no no. Therefore I sought other ways shown by experts such as Cetin Basoz and checked how that can be implemented on my needs.
Most of the codes are adapted from Cetin's especially the usage of DynamicFontBold, except that this approach gets the images straight on outside files in a folder. The trick is to be able to link the record with the real file name of the image file via one field (or several combined fields). And since mine has an asset number and the images are named after the asset number (by design), then it did not pose any problem. Here is the result:
However, now that I need to really show varying undetermined number of images on a grid based on outside image files (jpegs) in a folder, that approach is a no no. Therefore I sought other ways shown by experts such as Cetin Basoz and checked how that can be implemented on my needs.
Most of the codes are adapted from Cetin's especially the usage of DynamicFontBold, except that this approach gets the images straight on outside files in a folder. The trick is to be able to link the record with the real file name of the image file via one field (or several combined fields). And since mine has an asset number and the images are named after the asset number (by design), then it did not pose any problem. Here is the result: