shorten image resource prefix