Downloads

View Cart → "Story Counter" was successfully added to your cart.

Upload Module

Free!

Upload Module

Upload Module

Free!

This Upload module allows you to attach a file or image to a Pligg submission. There are a lot of settings to configure it from the Admin panel to allow you to do pretty much anything with it. This module is included with Pligg CMS, but you can grab updates from the product page.

Login for download

Sold by: Pligg CMS
Category: . Tag: . Product Version 2.00
Designed for Pligg CMS 2.0.0
Designed for Pligg CMS 2.0.1

Product Description

This Upload module allows you to attach a file or image to a Pligg submission. There are a lot of settings to configure it from the Admin panel to allow you to do pretty much anything with it. This module is included with Pligg CMS, but you can grab updates from the product page.

Features:

  • Upload image to your website
  • Grab an image from another site
  • Generate multiple thumbnails for attached images
  • Attach files to articles.
  • Select what file types you want to allow from the upload settings page. (Ex: zip jpg psd )
  • Add additional fields for each uploaded file. Use it require a name, description, author, etc. for each file.
  • Automatically embed image thumbnails into posts. Just tell it what template hook to use from the upload settings page.
  • Automatically embed an attached image list. Like above, just tell it what template hook to use to place the list.
  • Easily add HTML before and after the thumbnails or attached files list. Use these settings fields in the upload settings page to add the needed HTML to apply javascript effects to your images, or customize how the images and file list look.
  • Use template tags to embed the uploaded images into your template.

Upload Module Tags

If you want to manually control where images are inserted into story content you will want to use the image tags provided next to the example thumbnail(s) during the upload process in submit step 2. Example tags might be:

  • {image1}
  • {image1_100x100}
  • {image2}
  • {image2_250x250}

The numbers in those examples are from the sizes setup from the Upload module settings page. After you upload an image it should show a thumbnail and display one of these tags next to it for you to use if you want to embed it in the article.

Upload Module Template Tags

This module will insert thumbnails automatically into your template by using template hooks. This was designed so that you wouldn’t need to edit your template files manually in order to start using the module. If you want to customize where the images are individually displaying in the template, for example show the first image at the top of the post and show the second uploaded image at the bottom, you should follow the usage examples below.

To insert the first attached image at it’s original file size you will insert the code {$image1} into link_summary.tpl where you want it to display. The second uploaded image would be {$image2} and so on.

From the upload settings page I have created a thumbnail size of 500×500 pixels. This allows an uploaded image to have a maximum length of 500 pixels when being resized. So if you upload a 1000×500 pixel image it would be shrunk proportionately to 500×250 pixels. To embed that 500×250 pixel image into my template I would add the code {$image1_500x500} into link_summary.tpl to display the first uploaded file for a post at it’s 500×500 pixel thumbnail size. {$image2_500x500} would display the second 500×500 attached file. In the case that no image is attached nothing extra will be inserted into your template.

Support

This is one of the most advanced module made for Pligg and we designed it so that it could be used in a variety of sites. Because we had to design it with so many uses in mind it took us a very long time to get it just right. This module was developed by the Pligg team and is being released for free. We ask that if you use this module, please consider donating a small amount ($10-20) to help us maintain this module.

Technical support will be provided for BUGS that are recognized as valid and applicable to a large number of sites. We cannot support requests for new features unless you are willing to pay for the extra features to be developed and to allow the feature to be contributed back to the community.

Reviews

  1. out of 5

    :

    hi, I am unable to add alt taggs to images uploaded by users.
    pls help

Add Review

Add Comment Register



Add a review