This is an auto-generated topic for
ProtectImage 1.0-beta by stofke72.
Brief Description:
* @param &PrImgPath The path to the image you want to protect (required).
* @param &PrImgId The id (as in css) of the image you want to protect (optional).
* @param &PrObfusc This obfuscates the image path if set to anything else but zero (optional).
* @param &PrAlt The alt attribute for the image you want to protect (optional, but needed for W3C validation).
* @example [[ProtectImage? &PrAlt=`My Protected Image` &PrImgId=`myImageId` &PrImgPath=`assets/images/myImage`]]
* Will return
* <img id="myImageId" alt=`My Protected Image` src="data:image/png;base64,iVBO...II=" style=" width:230px; height:80px;"/>.
*
* @example [[ProtectImage? &PrAlt=`My Protected Image` &PrImgPath=`assets/images/myImage` &PrObfusc=`1`]]
* Will return
* <img alt=`My Protected Image` src="data:image/png;base64,iVBO...II=" style="background: url(t...g); width:230px; height:80px;"/>
*
* This snippet puts the provided image as background image and replaces it with
* a transparent image. This way it’s harder to download the image, it also
* obfuscates the path to the image in the source.
*
* If you use the imgId parameter you should create an id in your stylesheet
* with a background set to your imagepath.
* if you do not supply a PrImgId parameter the style is created inline.
Initial version