

![]() |
| | LinkBack | Thread Tools |
Upload Module (File and Image Attachment) | |||||||||||
|
Developed by Yankidank Developer Last Online: Mar 2010
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 |
| |||
| I think it is very useful add other button with option to choose images ( for example a list of files ) already stored into server. It will save a lot of space into hosting. |
| |||
| Dear, I found this warning / error msg after I installed UPLOAD MODULE.. Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fields, IF(LEFT(b.file_name,4)='http',b.file_name,CONCAT('/modules/upload/attach' at line 1 in /home/quickgoo/blogginggratis/libs/db.php on line 241 Anyone has solutions? |
| |||
| Yankidank I am not able to get this module to work either.......does it only work with Wistie? I'm using Wistie2....not sure if you are responsible for the second also It installs and configures fine there is just no image after the "upload" it only shows the location text I would be more than happy to donate $, even $$ if it just worked outside of one template......I'm sure this is why you are at 0% from donors I have had good luck with the web thumbnail services but they leave a hole for my original(editorial) entries Hope you can help us all out! |
| ||||
| I have no idea where you got Wistie 2 from. I suggest that you stick with Wistie until 1.0 final is out because from another thread it looks like the template you are using isn't being kept up to date. The template should work with any Pligg 1.0 template (templates with module hooks). You might just need to configure it from Admin > Settings > Upload Module. Make sure that you have looked through and tested all of the settings. Documentation is provided at the bottom of the settings page to try to help you out. |
| |||
| Quote:
and the upload homepage(many times)Wistie2 was an RC2 template but has been kept current to 4 and all the hooks are functional. This is the error I receive reguardless of where I place the hook: Code: Warning: Unknown column 'file_number' in 'order clause' in /home/.lynda/tripod0502/oururl.com/libs/db.php on line 241 |
| ||||
| If you've been using the module since RC2 you will need to completely uninstall it by deleting the pligg_files table and then reinstall the module. There was a structure change and this might be the cause of the problem. This would delete previous uploads from the database though. |
| |||
| I have done that several times thinking that may work.......no luck It is saving the images in the folder inside the database but it will not display them anywhere....neither while uploading or in the content itself? please refer to error message there is no file_number column Last edited by tripod0502; 04-17-2009 at 04:48 PM. |
| |||
| Hi Yankidank, I'd like to donate to this module, say around $100. I am using it on a default installation of the wistie template and Pligg 1.0 RC4 we installed just a few days ago. What I'd like to have added though, if not already, would be the ability to have images open up like the videos do while using the Video Plus module. So, if someone clicks on any image added to a story submission, it will use the jquery popup with the small "x" in the right corner to close it. This works well with the Video Plus module. I don't think it would be to hard (hopefully) to add this to the Upload module, but perhaps I'm wrong. Is this possible? Thanks! |
| |||
| Nevermind, I found the answer within the small image snapshot for the Image Upload settings page a few moments ago. I still donated $50 for this module as I think it could use some tweaks here and there... I use Drupal a lot. Image Cache is one of my favorite modules. It comes with the ability to crop, scale, and resize images. Would be nice to see something like this for the Image Upload module. The possibilities of clearly defined image sizes that aren't all pixelated would be endless. ![]() Thanks again! |
| ||||
| Quote:
|
![]() |
| Tags |
| last image, upload |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upload module 1.1 - Error uploading file | Citizenslide | Questions and Comments | 8 | 10-03-2009 08:18 PM |
| [MOD] Image Upload Module (v1.0) -- Now Available | cent | Questions and Comments | 184 | 06-27-2009 01:50 AM |
| [MOD] Image Upload Module (v0.93) -- Please test | cent | Questions and Comments | 54 | 05-01-2009 10:12 PM |
| Image Upload 0.4 Module | ziadchatila | Questions and Comments | 3 | 08-05-2008 04:40 PM |
| [MOD] File Upload Module -- seeking requests for features | cent | Questions and Comments | 2 | 08-11-2007 04:39 AM |