Add resize filter functionality