looping trough directories + intersecting matching images + merging images & reducing quality
Test page: http://arielbarkan.com/demo/php_task/index.php
Github page: https://github.com/ArielBarkan/php_task

Fatal error: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: Output file write error --- out of disk space? in /var/www/arielbarkan/public_html/demo/php_task/index.php on line 70