[MOD] Image Upload Module (v1.0) -- Now Available

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2007, 09:43 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Thanks for everyone on the forums for providing great feedback. All of the outstanding issues (as far as I can tell) have been resolved and rolled into v.1.0 of the Image Upload module.

Get it here... http://forums.pligg.com/downloads.php?do=file&id=36

If you are currently using any version prior to v0.94, it is recommended that you upgrade to the latest version as a number of fixes and features have been added.

With v.1.0, you can:

- Edit Controls -- Edit the entry to delete the photo / upload a new one (as well as caption if Custom Caption is enabled).
- Photo Restrictions - Allows you to set restrictions on file size and dimensions.
- Custom Caption -- Allow users to supply their own caption. By default, the module uses the story's title as the caption. Enabling this features requires an extra field specifically for it. The caption can be changed by editing the story.
- Use Smarty -- this option allows you to disable the module from displaying the image, thumbnail and caption. Instead, it will set 3 smarty variables that you can use to then manipulate the data as you see fit.


Fixed a number of bugs and odd behaviors with the module. It's thoroughly commented and provides a lot of detailed information (debug mode). The debug info is only displayed if you are logged in as an admin. This will allow you to test on production installations (not recommended but possible).

Please let me know if you have any problems installing or using this module.

Best,
Cent
Reply With Quote
  #2 (permalink)  
Old 06-18-2007, 10:00 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 277
been using this since beta - works great!

hey cent, are you still planning on adding gallery to this?

let me know if it's something we can hire you to build - muy importante!
Reply With Quote
  #3 (permalink)  
Old 06-19-2007, 01:34 PM
Donor
Pligg Version: 9.9
Pligg Template: push it
Donation Level 2 
 
Join Date: Feb 2006
Posts: 71
Is there anywhere where I can see a demo of how this looks on a site?
Reply With Quote
  #4 (permalink)  
Old 06-19-2007, 04:34 PM
New Pligger
 
Join Date: Apr 2007
Posts: 11
installed and working without a hitch!
Reply With Quote
  #5 (permalink)  
Old 06-19-2007, 04:39 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Great! Let me know if you run into any problems.

Best,
Cent


Quote:
Originally Posted by adampoots View Post
installed and working without a hitch!
Reply With Quote
  #6 (permalink)  
Old 06-19-2007, 08:50 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
In image_upload_settings.php,

replace

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions');    # Field instructions 
with

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions)');    # Field instructions 
Best
-A
Reply With Quote
  #7 (permalink)  
Old 06-19-2007, 09:24 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Good catch! Didn't notice there was a missing bracket.

Best,
Cent

Quote:
Originally Posted by aaronpais View Post
In image_upload_settings.php,

replace

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions');    # Field instructions 
with

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions)');    # Field instructions 
Best
-A
Reply With Quote
  #8 (permalink)  
Old 06-20-2007, 03:27 PM
Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 71
Can this mod have the uploaded image hyperlink to the Story URL instead of the image file?
Reply With Quote
  #9 (permalink)  
Old 06-20-2007, 06:15 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Rodney... I replied to your PM. In short, yes. You will need to custom tailor the direct link settings in image_upload_settings.php and the image_upload_main.php file. The module get's the Story's ID. So linking using method 1 is practically there. For method 2, you'll need to perform a basic lookup routine in order to find the right URL to go to.
Reply With Quote
  #10 (permalink)  
Old 06-22-2007, 02:03 AM
not2serious's Avatar
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 205
The install of v1.0 went fairly well.

However the Lightbox does not appear to be operating properly. The previous version did work properly. Any suggestions on how to correct.


Cent, I must commend you on the great install instructions and documentation. I wish all mods and repair instructions were this well documented. Thank you.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 157 03-13-2010 11:31 AM
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 01:44 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Questions and Comments 54 05-01-2009 10:12 PM
Image Upload Module - Really confused thefandango Questions and Comments 3 01-05-2009 11:01 AM
Image Upload Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 12:13 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development