This topic is locked
[SOLVED]

image not appearing in _print page

4/3/2024 8:32:07 AM
PHPRunner General questions
Y
YCH author

I have a project still in PHPRunner 9.8 !
I am trying to make an image appear on a master _print page.

My table has a image field name called FN.
It is a simple text field. Field values are like : "1081_013.png"

"Use different settings for all pages" is checked.
The image field is set as follows:

in list page : -> custom

$value='<img class="img-responsive" alt="no image" src="images/'.$data["FN"].'">';

in edit page : -> text field

in view page : -> image (size width:250 px; height : 250 px)

in print page : -> image (size width:250 px; height : 250 px)


The images appear as expected on _list page.

The images filenames (FN field) appear as text as expected on _edit page.

The images appear as expected in _view page.

The images do not appear in _print page.


What settings are wrong ? What should they be in order to appear on a _print page ?

Any help is greatly appreciated. (PHPRunner 9.8 version !)

admin 4/3/2024

The only real advice I can provide is not to use a version of PHPRunner that is 10 years old. You are doing a disservice to yourself and your clients.

lefty 4/13/2024

I recall having this same issue in one of my old projects also. Since Version is old , What I did to get around it , is I added PDF view to the print page. When They click the PDF view the image will show. But really should upgrade your version.