the modifier
$string = preg_replace('/(http://|https://){1}.+?.(jpg|gif|bmp|bnp|png)$/is','<img src="$0" alt="" />',$string);
return $string;
How can I write in the link_summary.tpl
thanks
the modifier
$string = preg_replace('/(http://|https://){1}.+?.(jpg|gif|bmp|bnp|png)$/is','<img src="$0" alt="" />',$string);
return $string;
How can I write in the link_summary.tpl
thanks
I would say, just use upload module and choose the option upload image and link This will display image from url