Skip to content

Commit

Permalink
Test Images
Browse files Browse the repository at this point in the history
  • Loading branch information
bitboxx committed Jul 8, 2016
1 parent f9871e8 commit 57cdf12
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 32 deletions.
1 change: 1 addition & 0 deletions BBImageHandler.csproj
Expand Up @@ -79,6 +79,7 @@
<ItemGroup>
<None Include="Install\BBImageHandler.dnn" />
<None Include="packages.config" />
<None Include="Readme.md" />
</ItemGroup>
<ItemGroup>
<Content Include="Documentation\AddInfoToActionMenu.txt" />
Expand Down
44 changes: 12 additions & 32 deletions Readme.md
Expand Up @@ -19,8 +19,8 @@ Display an image stored in a database field
Sample:

**/dnnimagehandler.ashx?mode=dbimage&table=MyImages&ImageField=ImageData&idField=ImageID&idValue=3**
https://raw.githubusercontent.com/weggetor/BBImageHandler-8/master/
![Database Image](https://raw.githubusercontent.com/weggetor/BBImageHandler-8/master/documentation/dbimage.jpg)

![Database Image](Documentation/dbimage.jpg)

Parameters:
- **table**: Name of the table in database
Expand All @@ -37,7 +37,7 @@ Sample:

**/dnnImagehandler.ashx?mode=barcode&width=150&Height=150&type=qrcode&content=this%20is%20the%20barcode%20content**

![Barcode Image](documentation/barcode.jpg)
![Barcode Image](Documentation/barcode.jpg)

Parameters:
- **type**: upca, ean8, ean13, code39, code128, itf, codabar, plessey, msi, qrcode, pdf417, aztec, datamatrix
Expand All @@ -54,7 +54,7 @@ Sample:

**/dnnImagehandler.ashx?mode=thermometer&degree=0&h=150** (degree in steps a 10 from 0 to 100)

![Thermometer](documentation/thermometer.jpg)
![Thermometer](Documentation/thermometer.jpg)

Parameters:
- **degree**: value between 0 and 100
Expand All @@ -68,11 +68,11 @@ Sample:

**/dnnImagehandler.ashx?mode=percent&type=circle&percentage=40&color=orange&w=100**

![Percent type=circle](documentation/percent1.jpg)
![Percent type=circle](Documentation/percent1.jpg)

**/dnnImagehandler.ashx?mode=percent&type=bar&percentage=40&color=orange&w=200**

![Percent type=bar](documentation/percent2.jpg)
![Percent type=bar](Documentation/percent2.jpg)

Parameters:
- **type**: circle, bar
Expand All @@ -87,7 +87,7 @@ Sample:

**/dnnImagehandler.ashx?mode=counter&filename=images/counter.gif&Value=1024&digits=5**

![Counter image](documentation/counter.jpg)
![Counter image](Documentation/counter.jpg)

Parameters:
- **filename**: Must be special counter image file with digits 0 to 9 with similar width per digit
Expand All @@ -102,7 +102,7 @@ Sample:

**/dnnImagehandler.ashx?mode=webthumb&url=http%3A%2F%2Fwww.huffingtonpost.de&ratio=screen&w=400**

![Web thumbnail image](documentation/webthumb.jpg)
![Web thumbnail image](Documentation/webthumb.jpg)

Parameters:
- **url**: url-encoded web address
Expand All @@ -117,7 +117,7 @@ Sample:

**/dnnImagehandler.ashx?mode=yearschedule&culture=de-de&matrix=1116611111661111166111...**

![Year schedule image](documentation/yearschedule.jpg)
![Year schedule image](Documentation/yearschedule.jpg)

Parameters:
- **color**: color of background (optional, default = white)
Expand All @@ -132,7 +132,7 @@ Sample:

**/dnnImagehandler.ashx?mode=barchart&xaxis=man,woman,kids,grandparents&yaxis=10,20,30,20&color=green**

![Bar chart](documentation/barchart.jpg)
![Bar chart](Documentation/barchart.jpg)

Parameters:
- **xaxis**: comma seperated list of bar captions
Expand All @@ -147,7 +147,7 @@ Sample:

**/dnnimagehandler.ashx?mode=modinfo&tabid=59&moduleid=414**

![Module Info](documentation/modinfo.jpg)
![Module Info](Documentation/modinfo.jpg)

Parameters:
- **tabid**: id of the tab (page) the module sits on
Expand All @@ -157,7 +157,7 @@ Parameters:

## Extending the DNN action menu ##

![Info menu](documentation/infomenu.jpg)
![Info menu](Documentation/infomenu.jpg)

To add an "info" action menu to your module toolbar, do the following hack. **Please be aware that this hack will be overwritten with every DNN update !**

Expand All @@ -179,23 +179,3 @@ function buildInfoMenu(root, rootText, rootClass, rootIcon) {
parent.append(htmlString);
}
```

<!-- Post Configuration -->
<!--
```xml
<abstract>
DNNImageHandler8 is an extension for DNN8. It provides additional creation of images like counters, barcodes, bar graphs and other stuff.
</abstract>
<categories>
</categories>
<postid></postid>
<keywords>
</keywords>
<weblog>
bitboxx.dnn.blog.
</weblog>
```
-->
<!-- End Post Configuration -->

0 comments on commit 57cdf12

Please sign in to comment.