At 09:29 PM 6/27/01 -0800, you wrote:

>How can I display a small icon next to all items that have a binary 
>attachment?! I have seen this done before and cannot find anyway to do it 
>with the documentation you have provided for DNewsWeb. Any help would be 
>appreciated. Thanks.

It's in the newer template sets, but in brief, in dnewsweb.ini you add

         isbinary_size 20000
         isbinary_img <img src="/nwimg/attach1.gif">
It is a simple size based test, messages larger than 20000 bytes will get
the image added :-)

In items.tpl you add:  %%isbinary%%

%%begin_item%%
%%item_n%% %%spaces%%%%isbinary%%<a href="%%b_item%%" >%%h_subject%%</a> - 
%%h_from_trim%%, %%h_date_trim%%
%%end_item%%

And create an appropriate image on your web server of course.

                 ChrisP.


-------------------------------------------------------------
To unsubscribe send to [EMAIL PROTECTED] a message
containing a single line, unsubscribe

Problems with:
  Incoming feed problems:  http://netwinsite.com/dnews/feedsin.htm
  Access rule problems:    http://netwinsite.com/dnews/access.htm
  General FAQ:              http://netwinsite.com/dnews/faq.htm



Reply via email to