/**
  * Handles an [img] tag.
  *
  * @param	string	The text to search for an image in.
  * @param	string	Whether to parse matching images into pictures or just links.
  *
  * @return	string	HTML representation of the tag.
  */
 function handle_bbcode_img($bbcode, $do_imgcode, $has_img_code = false, $fulltext = '')
 {
     $show_images = $this->registry->userinfo['showimages'];
     $this->registry->userinfo['showimages'] = true;
     $bbcode = parent::handle_bbcode_img($bbcode, $do_imgcode, $has_img_code);
     $this->registry->userinfo['showimages'] = $show_images;
     return $bbcode;
 }