The routine you show is in the Table class.
It returns a bitmap of the visible part of the Table, not useful in your case.
To be able to help you you need to give us more information.
Again, where are the image files located?
What are the names of the images?
What is the size of the image files?
Making a few assumptions, attached a modified project showing an image when clicking on the second row.
Assumptions:
- The image filename is the content of the cells in the second column with the .png extension.
- I added one image
R702.4.2.png into the Assets folder, this one is then copied into the ImageDir folder, look in the code.
This image is yours from post #6, but renamed. There is no entry in the second column matching with the original name.
For additional image files you can add those directly into the folder on the device, the folder name is displayed in the Logs.
You could, maybe, leave the files in the File.DirAssets folder, but this might make the apk file very huge.
- The image is displayed in a
ZoomImageView.
You need to download the ZoomImageView.b4xlib file into your AdditionalLibraries folder.
- To go back from the displayed image I use your button.
I'll be more than happy for you to continue with your assistance, i.e. a sample B4XPages project.
You mean this project as a B4XPages project or any other.
If it is this project, do you want it working on all three platforms or only with B4A?
For any other, you might have a look at the
B4XPages Cross-platform projects booklets, it contains examples.