|
|
|
Yazan
|
Konu: $tn_image->show(); resim çagırmak / göstermek (Okunma Sayısı 583 defa)
|
Pco
Yeni Kullanıcılar
Offline
Mesaj Sayısı: 16
|
www.yuklet.com/deneme/sample.html adresinde göründügü gibi thumnail yapmışız. bunu benim siteme ekliyecegim ama resimler deyişken oldugu için olmuyor sample1.php <? include("../class.Thumbnail.php"); $tn_image = new Thumbnail("sample.jpg", 300, 100, 0); $tn_image->show(); ?> sample1.php den çekiyor resmi ve sayfaya yansıtıyor. Bunu ben class.thumnail.php nin içine yerleştirmek istiyorum ve resmi yuklet.com/class.thumnail.php?resim=<?=$resim?> şeklinde çagırmak istiyorum not:fazla php bilgim yok
|
|
|
|
|
Logged
|
|
|
|
Witkey
Ziyaretçi
|
goster.php <?php include("../class.Thumbnail.php"); $image = empty($_GET["image"]) ? "" : $_GET["image"]; $tni = new Thumnail($image,300,100,0); $tni->show(); ?>
Bu işini görür 
|
|
|
|
|
Logged
|
|
|
|
|
 |
|