[support] Only images hosted on this site may be used in <img> tags

Gordon Heydon gordon at heydon.com.au
Sun Dec 4 21:55:56 UTC 2011


Hi,

I don't think there is. but it would not be that hard to write a filter. A little regexp to find the <IMG> and then check the src. You might be able to actually do the whole thing as a preg_replace(), given you know all possible names for the current went site.

Gordon.

On 04/12/2011, at 2:04 AM, Ms. Nancy Wichmann wrote:

> I was answering a question on a LinkedIn group and went to D.O to check the Input format description. At the bottom, it says "Only images hosted on this site may be used in <img> tags. Others are replaced with an error icon." Does anyone know if that filter code is available, preferably as a contrib?
>  
> Nancy
>  
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111205/23afa175/attachment.html 


More information about the support mailing list