This topic is locked

File image link on Master Record Header wrong

12/1/2005 03:59:45
PHPRunner General questions
S
sloftus author

I've set up a Master / Detail page relationship. On the master view I have a file based image field which uploads to an image folder. When viewing the Master record page the image displays fine. But when I view the Detail page which I've set up to display the Master info record on the Detail page (step 3 of 12), the image does not display. On checking the blank image properties I notice that the file location path has dropped the image folder name. Is this a bug of is it just cos I'm new to this?

Sergey Kornilov admin 12/1/2005

Hi,
thank you for pointing me to this bug.

It will be fixed in the next PHPRunner release.
To get your pages work please add the following line in the beginning of GetLinkPrefixMaster function in ..._list.phpfile

if($field=="Picture") return "images/";



where Pictureis your actual field name and "images/" is the URL prefix entered in View format dialog on Formattingtab in PHPRunner.