Make plugin working on PHP 5.2
Fix image issue on fields reload