plnk Posted July 27, 2010 Report Share Posted July 27, 2010 Sveicināti gignieši, esmu izmeklējies visur, bet nevaru atrast kautkādu vienkāršu html gallery skriptu, varbūt Jūs varētu kautko ieteikt? sliktākajā gadījumā php, bet vēlams protams html. Paldies par jebkādu sakarīgu atbildi Link to comment Share on other sites More sharing options...
Jameson's Posted July 27, 2010 Report Share Posted July 27, 2010 vienkārši paņem un liec iekš <img src="bilde"> Link to comment Share on other sites More sharing options...
plnk Posted July 27, 2010 Author Report Share Posted July 27, 2010 es neveelos katru bildi ievietojot redakteet html kodu, bet vienkaarshi iemetot mapee lielizmeera un mazizmeera bildi dabuut vinju bilzhu galerijaa... Link to comment Share on other sites More sharing options...
X ID Posted July 27, 2010 Report Share Posted July 27, 2010 Ar pliku html neies cauri. PHP <?php foreach(glob('biuzhas/mazas/*.jpg') as $biuzha) echo '<a href="biuzhas/lielas/',basename($biuzha),'"><img src="biuzhas/mazas/',basename($biuzha),'" alt="" /></a>'; ?> Link to comment Share on other sites More sharing options...
plnk Posted July 28, 2010 Author Report Share Posted July 28, 2010 PHP <?php foreach(glob('biuzhas/mazas/*.jpg') as $biuzha) echo '<a href="biuzhas/lielas/',basename($biuzha),'"><img src="biuzhas/mazas/',basename($biuzha),'" alt="" /></a>'; ?> paldies bet man te ir veel viena probleema. lieta taada, ka internets iet no ruutera uz notbuku un caur vadu uz stacionaaro kompi, sanaak reaalais IP ir ruuterim un ruuterii nav iespeejas uzlikt konkreetam kompim dinamisko/reaalo IP un uzinstaleejot jebkaadu apache vai kaadu citu web serveri uz stacionaaraa kompja, man neiet webs ievadot paarluukprogrammaa http://127.0.0.1 vai http://localhost vai http://192.168.0.11 vienkaarshi neatrod taadu lapu. Kur vareetu buut vaina? Link to comment Share on other sites More sharing options...
poxa Posted July 28, 2010 Report Share Posted July 28, 2010 bet man te ir veel viena probleema. lieta taada, ka internets iet no ruutera uz notbuku un caur vadu uz stacionaaro kompi, sanaak reaalais IP ir ruuterim un ruuterii nav iespeejas uzlikt konkreetam kompim dinamisko/reaalo IP un uzinstaleejot jebkaadu apache vai kaadu citu web serveri uz stacionaaraa kompja, man neiet webs ievadot paarluukprogrammaa http://127.0.0.1 vai http://localhost vai http://192.168.0.11 vienkaarshi neatrod taadu lapu. Kur vareetu buut vaina? Port Forward? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now