implementacion lazy en el index

This commit is contained in:
humano 2018-03-12 10:06:24 -05:00
parent cc90abc8fc
commit 29dddd4eb0

View File

@ -5307,7 +5307,8 @@ while( $row = mysqli_fetch_array( $sql ) ) {
}
else {
$logo_empresa = remplacetas('empresa','id',"1",'imagen','');
$logo="<img class=' lazy img img-responsive' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
//$logo="<img class=' lazy img img-responsive' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
$logo="<img class=' lazy img img-responsive' style='max-width:300px;' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
}
// $slogan= substr($row[slogan],0, $length = 100)."";
$slogan = $row['slogan'];