PHP Classes

File: views/image.html.php

Recommend this page to a friend!
  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: 10 years 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>';
}