bugfix: resize filter did not work on WPML site
bugfix: resize filter did not work on WPML sites