LPS-46968 Update <img> Attribute - Directory Portlet

https://issues.liferay.com/browse/LPS-46968