fix image restriction

maybe this will werk?