SpaceBuilder-站点设置-水印设置
查看全部词条命名空间:Main
导航: 上一页
水印设置包括总站的设置和各个应用中的设置:
- 其中总站中的水印设置如下图所示:[后台管理]->[管理] ->[站点设置]->[水印设置]:
水印类型分为三种:
- 禁止:不启用水印;
- 文字水印:在图片上使用文字做水印;
- 图片水印:图片上打的水印是张图片(注意 水印图片放到web根目录下的Images文件夹内),并填写水印图片名称,如下图所示:
- 另外,总站中虽然启用了水印,但是用到水印的各个应用又可以自己选择是否启用水印:
- 站点中使用水印的应用有:博客,图片,资讯,论坛和活动 共五个应用
- 每个应用在Spacebuilder.config中都有设置:是否启用水印:
博客:
<!-- Weblog Configuration -->
<Weblog
aggregatePostSize = "-1"
siteCategoryLevel="2"
rssDefaultThreadsPerFeed = "30">
<AttachmentSettings
enableWatermark="false"
fileSystemStorageLocation="~/Uploads/Blogs"
extensions = "zip,rar,xml,txt,gif,jpg,jpeg,png,doc,xls,ppt,pdf,swf,mp3,wma,mmv,rm,avi" />
<DefaultPingServices>
<add url="http://rpc.weblogs.com/RPC2" />
<add url="http://ping.blo.gs/" />
<add url="http://rpc.technorati.com/rpc/ping" />
<add url="http://xping.pubsub.com/ping" />
</DefaultPingServices>
</Weblog>
图片:
<!-- Gallery Configuration -->
<Gallery
allowEncodedUnicodeCharsInMetadata="false"
siteCategoryLevel="2"
iconX="75"
iconY="75"
iconQuality="-1"
thumbnailX="100"
thumbnailY="100"
thumbnailQuality="-1"
secondaryThumbnailX="240"
secondaryThumbnailY="240"
secondaryThumbnailQuality="-1"
pictureDetailsX="500"
pictureDetailsY="500"
pictureDetailsQuality="-1"
largeX="800"
largeY="800"
largeQuality="-1"
slideshowX="500"
slideshowY="500"
slideShowQuality="-1"
channelSlideshowX="320"
channelSlideshowY="240"
channelSlideShowQuality="-1">
<AttachmentSettings
enableWatermark="false"
fileSystemStorageLocation="~/Uploads/Galleries"
maxPictureCountATime="11"
maxAttachmentSize="5120"
extensions = "gif,jpg,jpeg,png,bmp" />
</Gallery>
资讯:
<!-- News Configuration -->
<News
aggregatePostSize = "-1"
rssDefaultThreadsPerFeed = "30"
enableUserContribute="true" >
<AttachmentSettings
enableWatermark="true"
fileSystemStorageLocation="~/Uploads/News"
extensions = "zip,rar,txt,gif,jpg,jpeg,png,doc,xls,ppt,pdf,swf,mp3,wma,mmv,rm,avi" />
</News>
论坛:
<!-- Forums Configuration -->
<Forum
defaultTheme = "Default"
enableThemes = "true"
enableSkinCache = "true"
enableThreadStatus = "true"
postsPerPage = "15"
threadsPerPage = "20"
enableForumsRSS = "true"
enableAttachments = "true"
inlinedImageWidth = "500"
inlinedImageHeight = "-1"
maxLengthPerReply="3000"
maxAttachmentsPerPost = "5">
<AttachmentSettings
enableWatermark="false"
fileSystemStorageLocation="~/Uploads/Forums"
extensions = "zip,rar,pdf,cab,jpg,gif,png,mpg,mpeg,avi,wmv,wma,mp3,ra,rar,rm,sql,txt,ppt,doc"
maxAttachmentSize="10240" />
</Forum>
活动:
<!-- Event Configuration -->
<Event enableAnonymousUserSignUp="true" siteCategoryLevel="2" areaLevel="2" rootAreaID="0">
<AttachmentSettings
fileSystemStorageLocation="~/Uploads/Events"
EnableWatermark="false"
enableDirectLinks="false"
maxPictureCountATime="11"
maxAttachmentSize="5120"
extensions = "gif,jpg,jpeg,png,bmp" />
</Event>
