Creating plugin for extracting image from post tag