Login   Register  
PHP Classes
elePHPant
Icontem

File: views/image.html.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Morshed Alam  >  PHP Scrape Website Links  >  views/image.html.php  >  Download  
File: views/image.html.php
Role: Auxiliary script
Content type: text/plain
Description: To render images
Class: PHP Scrape Website Links
Parse and extract links and images from Web pages
Author: By
Last change: Modify example page to show parsed title and meta tags
Date: 11 months ago
Size: 235 bytes
 

Contents

Class file image Download
<?php
$count 
count($images);

if (
$count) {

    echo 
'<h4>Images: ' $count '</h4>';

    echo 
'<div class="row images">';

    foreach(
$images as $image) {
        echo 
'<img src="' $image '" />';
    }

    echo 
'</div>';
}