This topic is locked
[SOLVED]

 Only First Image Showing In List

5/9/2016 10:51:00 AM
ASPRunnerPro General questions
B
blalor author

In a project, we have a list of vehicles that can be reserved. There is an image field in that table and when the list for that table displays, all the images display as well. However, in a list created by a query of vehicles that are not currently in use, only the first image in the list shows. All the others show an icon for a broken link.
Here is the source for the first item in the list which does display the image:
<td class="rnr-field-text" data-record-id="9">

<span id="edit9_Image" ><img border=0 style="max-width:75px;max-height:75px;" src="mfhandler.asp?file=MP32%2Ejpg&amp;table=AvailableVehicles&amp;field=Image&amp;pageType=list&amp;fkey=&amp;nodisp=1"></span>

</td>
Here is the source for the next item in the list which DOES NOT display the image.
<td class="rnr-field-text" data-record-id="10">

<span id="edit10_Image" ><img border=0 style="max-width:75px;max-height:75px;" src="mfhandler.asp?file=MP39%2Ejpg&amp;table=AvailableVehicles&amp;field=Image&amp;pageType=list&amp;fkey=&amp;nodisp=1"></span>

</td>
All of the images are in the same directory.
Any idea what is wrong?
Thanks!

admin 5/10/2016

Not sure I understand. Are we talking about some custom code or about built-in functionality?
Just in case make sure there is a key column selected for the table where images are stored. As far as I can see there is not key column specified in image URL ("fkey" parameter).

B
blalor author 5/11/2016

Hi Sergey. No custom code. Just an image field in a table of vehicles. When the list page for that table displays, the images are fine. However, I have another list that comes from a query that includes a join to that table and pulls the image field. In that list, only the first image displays and the subsequent ones show only the broken image graphic.
I'll verify the key column and see how that goes.
Thanks again, Bill

B
blalor author 5/11/2016

Sergey, it appears that checking the ID box on the "Pages" worked. Thank you again.