jwlarson3rd has asked for the wisdom of the Perl Monks concerning the following question:
this displays the images but not in a grid john larsonmy $dat=$stht->fetchall_arrayref(); print "<table>"; print "<Tr>"; for my $i(0..$#{$dat}) { my $image = Image::Magick->new; my $in="/home/bthcraft/public_html/$nme/images/tn_$dat->[$i][2]"; my $result=$image->Read($in); warn $result if $result; my $width=$image->Get('columns'); my $height=$image->Get('rows'); print $q->start_form(-name=>'display individual',-method=>'POST',-acti +on=>'image.cgi'); print "<input type=hidden name= 'index' value='$i'>"; print "<input type=hidden name='uname' value='$nme'>"; print "<input type='image' src='http://typhoon.he.net/~bthcraft/$nme/i +mages/tn_$dat->[$i]->[2]' name='image' height ='$heigh$ print $q->end_form; print "</td>"; } print "</Tr>"; print "</table>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: html tables
by kutsu (Priest) on Jan 10, 2004 at 04:15 UTC | |
|
Re: html tables
by b10m (Vicar) on Jan 10, 2004 at 04:31 UTC | |
|
Re: html tables
by Anonymous Monk on Jan 10, 2004 at 02:05 UTC | |
| |
|
Re: html tables
by pg (Canon) on Jan 10, 2004 at 02:53 UTC | |
|
Re: html tables
by nite_man (Deacon) on Jan 10, 2004 at 19:28 UTC | |
|
Re: html tables
by fglock (Vicar) on Jan 10, 2004 at 02:18 UTC |