to add some helper methods for create images in web page