edit helper to thumbnail by resize