Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/03/2011, 18:34
maurosarria
 
Fecha de Ingreso: noviembre-2010
Mensajes: 8
Antigüedad: 13 años, 5 meses
Puntos: 0
imagenes se ven algo mal

Hola amigos.

Ayuda tengo un script para inmobiliaria pero tengo un problema con las imagenes
me salen muy mal pixeles , no se ven muy bien las imagenes , asi tenga las imagenes buena calidad .

este es el showimage.php la cual llama el archivo que las visualiza viewimage.tpl



archivo showimage.php



<?php
/************************************************** ****************
* PHPMass Real Estate
* The contents of this file are subject to the PHPMass License.
* If you do not agree with PHPMass License Terms and Conditions
* than you should not use this software.
* A copy of the license file is available on www.phpmass.com/license.htm page.
*
* PHPMass.com.
* All Rights Reserved.
************************************************** ****************/
$SiteSection = 'front';
require('../includes/config.php');

$ProductID = $_GET['ProductID'];
$ImageID = $_GET['ImageID'];
$ProductInfo = $Product->getProduct($ProductID);
$smarty->assign('Product', $ProductInfo);

$smarty->assign('ImageID', $ImageID);
$smarty->assign('ImageDir', $ProductInfo['image'.$ImageID]);

$smarty->assign('PageTitle', $ProductInfo['name']);

$smarty->assign('GET', $_GET);
$smarty->assign('Error', $Error);
$smarty->display(DOC_ROOT.'/skin/templates/tools/'.'viewimage.tpl');
?>



y este es el archivo tpl


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$PageTitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="/images/style.css" rel="stylesheet" type="text/css" />
<link href="/images/filters.css" rel="stylesheet" type="text/css" />
<script src="/images/scripts/lang.js" type="text/javascript"></script>
<script src="/images/scripts/prototype.js" type="text/javascript"></script>
<script src="/images/scripts/filtre.js" type="text/javascript"></script>
<script src="/images/scripts/javascript.js" type="text/javascript"></script>
<link rel="Shortcut Icon" href="/images/favorites.ico" />
</head>
<body>
<center>
<table class="usertable" width="670" border="0" cellspacing="0" cellpadding="0" style="color:#45586F;">
<tr>
<td colspan="3" class="head">{$Product.name} {#images#}</td>
</tr>
<tr>
<td colspan="3" height="15">&nbsp;</td>
</tr>
<tr>
<td colspan="3">
<div align="center">
{if $Product.image0 ne ''}
<a href="/tools/showimage.php?ProductID={$Product.productid}&amp;I mageID=0">
<img src="/files/images/{$Product.image0}/{$Product.productid}-0-thumb.jpg" width="40" border="0"/>
</a>
{/if}
{if $Product.image1 ne ''}
<a href="/tools/showimage.php?ProductID={$Product.productid}&amp;I mageID=1">
<img src="/files/images/{$Product.image1}/{$Product.productid}-1-thumb.jpg" width="40" border="0"/>
</a>
{/if}
{if $Product.image2 ne ''}
<a href="/tools/showimage.php?ProductID={$Product.productid}&amp;I mageID=2">
<img src="/files/images/{$Product.image2}/{$Product.productid}-2-thumb.jpg" width="40" border="0"/>
</a>
{/if}
{if $Product.image3 ne ''}
<a href="/tools/showimage.php?ProductID={$Product.productid}&amp;I mageID=3">
<img src="/files/images/{$Product.image3}/{$Product.productid}-3-thumb.jpg" width="40" border="0"/>
</a>
{/if}
{if $Product.image4 ne ''}
<a href="/tools/showimage.php?ProductID={$Product.productid}&amp;I mageID=4">
<img src="/files/images/{$Product.image4}/{$Product.productid}-4-thumb.jpg" width="40" border="0"/>
</a>
{/if}
</div>
</td>
</tr>
<tr>
<td colspan="3" height="15">&nbsp;</td>
</tr>
<tr>
<td width="15">&nbsp;</td>

<td width="640">
<img src="/files/images/{$ImageDir}/{$Product.productid}-{$ImageID}-large.jpg" />
</td>
<td width="15">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="15">&nbsp;</td>
</tr>

</table>
</center>
</body>
</html>




Quiro saber si se puede mejorar la calidad de la imagen mejorando estos archivos


GRACIAS

mauricio