fix imagefield thumb edit gallery