This topic is locked

image size

9/13/2006 7:57:10 PM
PHPRunner General questions
J
jim9 author

In phprunner 3.1, If you set image width to 100 in list, it works so image is small like a thumbnail, but you can't set it to full size in view. The view page defaults to list page size. I overcame this by deleting the width=300 and heigth=300 in the generated pages for ...view.php.

In ver 3.0, it would show images correctly, small on list page and regular size on view page.

J
Jane 9/14/2006

Jim,
thank you for pointing me to this issue.

We'll fix it in the next PHPRunner update.

M
mmponline 9/14/2006

V. 3 - If I want to set the view page photos to a specific size, instead of the regular size, how would I do it?
Stephan

J
Jane 9/14/2006

Stephan,
edit ..._view.php file manually.

Find following lines:

if(IsBinaryField($rs,"FieldName"))

{

$value=db_stripslashesbinary($value);

$itype=SupposeImageType($value);

if($itype)

$disp='<img border=0 src="TableName_imager.php?'.$iquery.'">';



and replace it with this one:

if(IsBinaryField($rs,"FieldName"))

{

$value=db_stripslashesbinary($value);

$itype=SupposeImageType($value);

if($itype)

$disp='<img border=0 height=50 width=50 src="TableName_imager.php?'.$iquery.'">';