Raikons Posted October 19, 2004 Report Share Posted October 19, 2004 Kādā veidā uz dotās bildes var uzrakstīt tekstu! Zinu ka tas nav PHP, bet tomēr kā to var izdarīt? <td width="440" valign="top"><img src="../images/foto/Ss23024.jpg" width="440" height="320"></td> Link to comment Share on other sites More sharing options...
bubu Posted October 19, 2004 Report Share Posted October 19, 2004 Nesaprotu, tu ar php gribi, vai bez php, tb vienkārši htmlā divu virsū uzbīdīt? Link to comment Share on other sites More sharing options...
Raikons Posted October 19, 2004 Author Report Share Posted October 19, 2004 vienkārši ar HTML, jo nosaukums ir tikai index.php Link to comment Share on other sites More sharing options...
Roze Posted October 19, 2004 Report Share Posted October 19, 2004 Panjeemiens nr1: atveram Photoshopu vai dajebko citu uzrakstam uz bildes to ko vajag viss smuki un aatri. Viss (apmekleetaajam) ir tieshi taa kaa tu redzi. Miinusi: dinamika - 0. Panjeemiens nr2: Ieliekam bildi tabulas shuunas backgroundaa - shuunu uzliekam tieshi tik lielu cik bildi (vai arii arii taa kaa vajag) ierakstam tekstu kur vajag. Plusi: taadi pashi kaa pirmie + naak klaat arii dinamiskas iespeeja mainiit tekstu. Panjeemies nr3 (atvasinaats no otraa): Njemam ieliekam tekstu ieksh css layera un pozicioneejam virs bildes. Miinusi: kjeska ar koordinaateem. Panjeemiens nr4 (nu kapeec mees galugalaa te vispaar esam): eliiti ar GD http://lv.php.net/gd gjenereeam tekstu uz bildes. Plusi: kuulaak vairs nevar buut. Miinusi: resursrijiigi, un ne visur ir GD utt.. Link to comment Share on other sites More sharing options...
Raikons Posted October 19, 2004 Author Report Share Posted October 19, 2004 nu paldies, laikam lietoshu 4 panjeemienu Link to comment Share on other sites More sharing options...
Roze Posted October 19, 2004 Report Share Posted October 19, 2004 Nu tad http://lv.php.net/manual/en/function.imagettftext.php Ar visu gatavu koda gabalinju.. Link to comment Share on other sites More sharing options...
bubu Posted October 19, 2004 Report Share Posted October 19, 2004 Nu un tas 4. paņēmiens nemaz nav ar php... Link to comment Share on other sites More sharing options...
4e4en Posted October 22, 2004 Report Share Posted October 22, 2004 uzliec 2 un 3 variantam sourcu!!! Link to comment Share on other sites More sharing options...
bubu Posted October 22, 2004 Report Share Posted October 22, 2004 (edited) Tā uz fikso rakstot: 2) <td ... style="background-image: url('bilde.jpg')"> TEKSTS </td> 3) <td> <div style="position: absolute"> <div style="position: absolute; top:0; left:0;"><img src="bilde.jpg" /></div> <div style="position: absolute; top:0; left:0;">TEKSTS</div> </div> </td> Edited October 22, 2004 by bubu Link to comment Share on other sites More sharing options...
Raikons Posted October 22, 2004 Author Report Share Posted October 22, 2004 nu vnk idelaai paldies tuuc imzgeejinaashu Link to comment Share on other sites More sharing options...
Recommended Posts