Center the screenshot image so it is centered with respect to the text that may appear below it.
This commit is contained in:
@@ -321,11 +321,11 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
|
|||||||
}
|
}
|
||||||
if(!$hResult || !mysql_num_rows($hResult))
|
if(!$hResult || !mysql_num_rows($hResult))
|
||||||
{
|
{
|
||||||
$sImgFile = '<img src="'.BASE.'images/no_screenshot.png" alt="No Screenshot" />';
|
$sImgFile = '<center><img src="'.BASE.'images/no_screenshot.png" alt="No Screenshot" /></center>';
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
$oRow = mysql_fetch_object($hResult);
|
$oRow = mysql_fetch_object($hResult);
|
||||||
$sImgFile = '<img src="appimage.php?thumbnail=true&id='.$oRow->id.'" alt="'.$oRow->description.'" />';
|
$sImgFile = '<center><img src="appimage.php?thumbnail=true&id='.$oRow->id.'" alt="'.$oRow->description.'" /></center>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$sImg = html_frame_start("",'128','',2);
|
$sImg = html_frame_start("",'128','',2);
|
||||||
|
|||||||
Reference in New Issue
Block a user