anchor.diff:            ImageOpts}.
   
   
  +is_tagopt({link,  _}) -> true;
   is_tagopt({alt,   _}) -> true;
   is_tagopt({title, _}) -> true;
   is_tagopt({class, _}) -> true;
  
positive.code: 			Filename -> Filename
  		end.
  			
  
  %% @doc Give the filepath for the filename being served.
  %% @todo Ensure the file is really in the given directory (ie. no ..'s)
  
negative.code:                         undefined -> [{alt,""}|TagOpts1];
                          _ -> TagOpts1
                      end,
          % Filter some opts
          case proplists:get_value(link, TagOpts) of
              Empty when Empty == undefined; Empty == []; Empty == <<>> ->
                  {ok, z_tags:render_tag("img", [{src,Url}|TagOpts2])};
              Link ->
                  HRef = get_link(MediaRef, Link, Context),
                  Tag = z_tags:render_tag("img", [{src,Url}|proplists:delete(link, TagOpts2)]),
                  {ok, z_tags:render_tag("a", [{href,HRef}], Tag)}
          end.
  
  
  	mediaprops_filename(Props, Context) ->
  