Ver post
Old 01-Aug-2006, 09:17 AM   #11
Danger
Miembro
Avatar de Danger
Registrado: May-2006
Location: México
Posts: 79
Que onda renerf, okas ps como tu te acomodes we ñ_ñ yo solo decia... de rapidin te contesto lo que me dices de las equitetas...

No es necesario que tu pagina generada sea PHP, asi sea html o pl o lo que sea puedes utilizar esta libreria, claro, miestras el server tenga el PHP. EJ:

Código PHP:
<img src="libreria.php?src=tuimagen.jpg&w=xx&h=xx">
donde xx podria ser tu valor que quieres...

Ahora.. estaba checando la clase y en el archivo phpthumb.class.php hay bastantes variables publicas que puedes utilizar en GET.. para la imagen..

Quote:
var $src = null; // SouRCe filename
var $new = null; // NEW image (phpThumb.php only)
var $w = null; // Width
var $h = null; // Height
var $wp = null; // Width (Portrait Images Only)
var $hp = null; // Height (Portrait Images Only)
var $wl = null; // Width (Landscape Images Only)
var $hl = null; // Height (Landscape Images Only)
var $ws = null; // Width (Square Images Only)
var $hs = null; // Height (Square Images Only)
var $f = null; // Format
var $q = 75; // jpeg output Quality
var $sx = null; // Source crop top-left X position
var $sy = null; // Source crop top-left Y position
var $sw = null; // Source crop Width
var $sh = null; // Source crop Height
var $zc = null; // Zoom Crop
var $bc = null; // Border Color
var $bg = null; // BackGround color
var $fltr = array(); // FiLTeRs
var $goto = null; // GO TO url after processing
var $err = null; // default ERRor image filename
var $xto = null; // extract eXif Thumbnail Only
var $ra = null; // Rotate by Angle
var $ar = null; // Auto Rotate
var $aoe = null; // Allow Output Enlargement
var $far = null; // Fixed Aspect Ratio
var $iar = null; // Ignore Aspect Ratio
var $maxb = null; // MAXimum Bytes
var $down = null; // DOWNload thumbnail filename
var $md5s = null; // MD5 hash of Source image
var $file = null; // >>deprecated, do not use<<
como sea, ahi esta otra alternativa

Saludos !
Danger is offline   Citar y responder