voir l'erreur sur mon site
http://testbambi.brinkster.net
J'ai copié dans mon répertoire bin la dll : HolmokImageHandler.dll
http://kherc.brinkster.net/ de Kingherc's ASP.NET Toolkit
et voici mon fichier Web.config
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50 <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="DefaultLanguage" value="fr" /> <!-- Trace SQL --> <add key="SqlTrace" value="False" /> <!-- Cache --> <add key="UseCache" value="True" /> <!-- Recherche auto de la premiere sous-rubrique --> <add key="RubriqueFallback" value="True" /> <!-- Holmok Handler --> <add key="hih thumbnail size" value="80" /> <add key="hih watermark minimum width" value="200" /> <add key="hih watermark type" value="none" /> <add key="hih watermark graphic" value="/ImageHandler/images/h.gif" /> <add key="hih watermark graphic transparent color" value="white" /> <add key="hih watermark text" value="©2003 holmok.com" /> <add key="hih watermark position" value="top left" /> <add key="hih watermark x" value="10" /> <add key="hih watermark y" value="10" /> <add key="hih watermark font" value="Verdana" /> <add key="hih watermark color" value="#FFFFFF" /> <add key="hih watermark size" value="13" /> <add key="hih watermark shadow color" value="#000000" /> <add key="hih watermark shadow distance" value="1.5" /> <add key="hih no access" value="/ImageHandler/images/no_access.gif" /> <add key="hih allow external referrers" value="yes" /> <add key="hih allow no referrers" value="yes" /> <!-- Fin Handler --> </appSettings> <system.web> <httpHandlers> <add verb="*" path="/usermedia/*.jpg" type="Holmok.HttpHandlers.ImageHandler,HolmokImageHandler" /> <add verb="*" path="/img/*.jpg" type="Holmok.HttpHandlers.ImageHandler,HolmokImageHandler" /> </httpHandlers> <compilation defaultLanguage="c#" debug="false" /> <customErrors mode="Off" /> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> </system.web> </configuration>
Partager