make image size filterable
remove unneeded function, can trim characters in wp core