trimmed materialize img