Example #1
0
		<td style="width: 50%;">
			<!-- right side (images)-->
			<table class="result_grid_data" cellpadding="0" cellspacing="0" style="width: 100%;">
				<tr>
					<!-- original image -->
					<td colspan="2" class="result_list_data_img" style="width: 400px; height: 400px; text-align: center; vertical-align: middle;">
						<table border="0" cellspacing="0" width="100%">
							<tr>
								<td rowspan="2"><img src="/icons/blank.gif" width="1" height="182"></td>
								<td><img src="/icons/blank.gif" width="121" height="1"></td>
							</tr>
							<tr colspan="2">
								<td style="text-align: center">
									<?php 
if ($filechecker->hasFile()) {
    $fn = $filechecker->getPreviewFilename();
    echo "<img src='image.php?filename=" . $fn . "' style='width: 280px;'>";
} else {
    echo "<img src='resource/empty.jpg' style='width: 280px;'>";
}
?>
								</td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td class="result_list_data_data" style="text-align: center">
									<b>Digitalisat</b>
								</td>
							</tr>
						</table>
					</td>