Image in svg defines an image for a given source, width and height. SvgDreams has a class for this. Here's a simple example how to create an image object from this class:
$imageObj = new Image("image_1");
   $imageObj->source = "images/fish.png";
   $imageObj->width = 40;
   $imageObj->height = 40;
The following animation is a demo created by svgDreams library. Many images move in different directions. You can find the example code in the repository. (shapes_image_1.php)

All rights reserved. See license