added multimedia preview in posts