alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jforum example source code file (AttachmentConfigurations.txt)

This example jforum source code file (AttachmentConfigurations.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jforum tags/keywords

attachment, attachment, attachments, configurations, if, if, minimum, panel, setting, there, thumbnail, thumbnail, yes, yes

The jforum AttachmentConfigurations.txt source code

!!! Attachment Configurations
There are some interesting settings to set at Admin Panel -> Attachments -> Configurations, as described in the following table:

||Setting||Default value||Description
|Attachment Posting Icon|images/icon_clip.gif|Relative path to an image that is displayed next to Attachment Links in individual Postings. Leave this field empty if you don't want an icon to be displayed. This Setting will be overwritten by the Settings in Extension Groups Management.
|Create Thumbnail|Yes|With this Feature a Thumbnail will be displayed within the post when an image is sent, allowing the User to click on it to open the real Image.
|Minimum Thumbnail dimensions|400x400|Minimum size the attached image should have in order to generate a thumb. If the original image is smaller than these values, no thumb will be created.
|Add description box around Thumbs|Yes|If set to "Yes", the regular attachments box panel will be added around thumbnails as well, showing the image's description, as well download count and the download button. If set to "No", only the thumbnail will be shown, and then the user should click on it to download the full image.
|Maximum Number of Attachments|3|The maximum number of attachments allowed in one post.

Other jforum examples (source code examples)

Here is a short list of links related to this jforum AttachmentConfigurations.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.