tests/Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:13:35 +0000 (09:13 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:13:35 +0000 (09:13 +0800)
tests/Images.php [new file with mode: 0644]

diff --git a/tests/Images.php b/tests/Images.php
new file mode 100644 (file)
index 0000000..bfbaf8c
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+
+require_once 'Tests.php';
+
+require_once 'Pman/Images/Images.php';
+
+// test...
+echo '<PRE>';
+Pman_Core_Images::replaceImg('
+        <img src="http://test.php/Core/Images/Thumb/200x40/34/test.png">
+        <img src="http://test.php/Images/34/test.png">
+        <img src="http://test.php/Images/Download/34/test.png">        
+        
+');