[code] add support for non image formated posts