Hi
I am using the following PERL (dbi/dbd-mysql) code snippet to display a blob image
(stored in a MySQL table) to browser. Problem is that it is displaying as low
resolution I guess I am missing something. BTW it displays perfectly well using
graphical interface MySQLFront. Any tips or hints would be appreciated.
Howard
begin snip------------------------------------>
($dbh->{LongReadLen} = 50000);
($sth = $dbh->prepare( "SELECT * FROM testblob where number = '$number'")) or die
$DBI::errstr;
$rv=($sth->execute )or die $DBI::errstr;
while (($number,$picture,$fieldblob) = $sth->fetchrow){
print "Content-type: image/jpeg \n\n";
print "$fieldblob";
<-------------------------------------------end snip