reverse img array on all platform