Fix transparency for transparent PNGs when resizing - refs BT#7293

Conflicts:
	main/inc/lib/image.lib.php
Fix typo in WS call