*/
class DeviantArtBBCode implements BBCode {
protected $code = '';
protected $width=450, $height=450;
/**
* @see BBCode::getParsedTag()
*/
public function getParsedTag($openingTag, $content, $closingTag, BBCodeParser $parser) {
if(is_numeric($content)) {
// id as input
$id = intval($content);
} else if(strpos($content, 'http://') == 0){
// url as input
preg_match('/-(\d+)$/', $content, $hits);
$id = intval($hits[1]);
} else if(strpos($content, '