Swap images
Make the append declaration compatible with PHP 5.3