modify user index & tmp rmagick on to resize img