

![]() |
| | Thread Tools |
Upload Module (File and Image Attachment) | |||||||||||
|
Developed by Yankidank Developer Last Online: Feb 2012
An early Beta version of the module was included with 1.0 RC2, but we suggest that users uninstall it and start from scratch with the version provided with RC3 to prevent any bugs from appearing. Support This module was developed by the Pligg team and is being released for free, but we do ask that if you use this module please consider donating a small amount ($10-20) to help us recuperate our losses for the amount of time involved in developing this module. This is probably the most advanced module designed for Pligg yet and we designed it so that it could be used in a broad array 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. If you plan on using this module for commercial use (generating income greater than $30/month from the site), we require that you submit a donation of at least $10. 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 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. Features:
Below is a screenshot of the upload module as seen at the top of Submit Step 2. ![]() Below is a screenshot of what happens after I have attached an image and clicked the Upload button: ![]() 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:
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 500x500 pixels. This allows an uploaded image to have a maximum length of 500 pixels when being resized. So if you upload a 1000x500 pixel image it would be shrunk proportionately to 500x250 pixels. To embed that 500x250 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 500x500 pixel thumbnail size. {$image2_500x500} would display the second 500x500 attached file. In the case that no image is attached nothing extra will be inserted into your template. Examples Please see the attached image for a screenshot of the Upload module settings page and examples of what the upload process looks like for the submit step 2 page. Download Now
Screenshots License Agreement Creative Commons Attribution-Noncommercial-Share Alike LicenseYou are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). You may not use this work for commercial purposes. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. Supporters / CoAuthors Show Your Support
|
Similar Downloads | ||||
| Download | Developer | Category | Replies | Last Post |
| Comments |
| |||
|
When I upload an animated gif by URL reference it only copies the first frame of the gif to the server. Anyone else have this problem?
|
| ||||
| Is it possible to grab image like digg from directly to url.
|
| ||||
|
Getting this error in url submitting "URL is invalid or blocked: (How Life Works | How to Make Your PC as Fast as the Day you Bought It)' this is the url:"http://www.howlifeworks.com/technology/faster_pc_V2/" is this wrong. error screen shot: |
| |||
|
Hello. I have installed the module. with pligg 103rd it works for me does not. while loading the images is the message "upload". it does not display a picture. no matter how much I insert images. I am desperate already. need your help yanki ![]() i used WAMP5 on local machine. need it special services to active on apache? or jQuery modul to install? ![]() AND LATER Last edited by narc; 12-08-2009 at 10:55 PM. |
| |||
| I think this should be built into pligg
|
| |||
![]() My upload got error, when i upload a images, it can created thumb, but can't insert link and file name on files table. could some one help this? Thanks. I looked at html code, found this warn: <iframe id="upload_iframe_1" style="display: none;" name="upload_iframe_1"> <html> <head/> <body> <br/> <b>Warning</b> : Field 'file_orig_id' doesn't have a default value in <b>C:\xampp\htdocs\pligg\libs\db.php</b> on line <b>242</b> <br/> <br/> <b>Warning</b> : Field 'file_number' doesn't have a default value in <b>C:\xampp\htdocs\pligg\libs\db.php</b> on line <b>242</b> <br/> <br/> <b>Warning</b> : Field 'file_number' doesn't have a default value in <b>C:\xampp\htdocs\pligg\libs\db.php</b> on line <b>242</b> <br/> </body> </html> </iframe> |
| |||
|
In what file can I delete the portion where it says "Use this code to embed the image in your post:" as well as the "add another file" part? I would like to eliminate these options altogether. If anyone knows, I'd greatly appreciate it as I've exhausted myself trying to find this... |
| ||||
|
/modules/upload/templates/upload_ajax.tpl Code: <td>
<span style="font-weight:normal;">{#PLIGG_Upload_Code_Instructions#}</span><br />
<input type="text" style="margin:4px 0;padding:3px 5px 3px 5px;" value="{literal}{image{/literal}{$number}{if $image.file_size!='orig'}_{$image.file_size}{/if}{literal}}{/literal}" />
<br />
</td> The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
Hi Yankidank, I recently purchased the Media Master module for use with the Upload Module. Is there a way I can get the Media Master players to show up on the main Published or Upcoming summaries? Right now I can only see the media players when I click on the post. Chuckroast said it was an Upload Module issue and I'd need to take it up with you. Hope you can advise. Thanks! |
![]() |
| Tags |
| last image, upload |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [MOD] Image Upload Module (v1.0) -- Now Available | cent | Questions and Comments | 190 | 01-08-2011 05:12 PM |
| Upload module 1.1 - Error uploading file | Citizenslide | Questions and Comments | 8 | 10-03-2009 09:18 PM |
| [MOD] Image Upload Module (v0.93) -- Please test | cent | Questions and Comments | 54 | 05-01-2009 11:12 PM |
| Image Upload 0.4 Module | ziadchatila | Questions and Comments | 3 | 08-05-2008 05:40 PM |
| [MOD] File Upload Module -- seeking requests for features | cent | Questions and Comments | 2 | 08-11-2007 05:39 AM |