PHP Classes

File: test/images/resize.php

Recommend this page to a friend!
  Classes of Peter   Storage Class   test/images/resize.php   Download  
File: test/images/resize.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Storage Class
Manipulate data in arrays and store it in files
Author: By
Last change:
Date: 8 years ago
Size: 274 bytes
 

Contents

Class file image Download
<?php
include_once('../../config/config_setting.php');
$config = config_setting::get_config();
$base_path = $config['base_path'];
include_once(
"{$base_path}/images.php");

$images = new images();
$images->open('blackberries.jpg');
$images->resize(100);
$images->close();