[MOD] Image Upload Module (v0.93) -- Please test

Register an Account
Reply
 
Thread Tools Display Modes
  #31 (permalink)  
Old 06-23-2007, 02:43 AM
New Pligger
 
Join Date: Jun 2007
Posts: 2
Quote:
Originally Posted by tbones View Post
Do you plan to activate Image Upload v1.0 at demo.pligg.com? This would be a great marketing for the possibilities of Pligg.

BTW: Is there an upgrade to v9.6 in progress? I only see a maintenance page.
Thanks for offering to help. My app is behind a firewall.
Reply With Quote
  #32 (permalink)  
Old 06-24-2007, 10:15 PM
New Pligger
 
Join Date: Jun 2007
Posts: 5
Hey I would first like to thank you for creating this plug in, but I have some problems. I followed all instructions and I there is no new image upload feild in the submit story page. Is it supposed to appear the same place where a user submits the details of the story? If not is there anyway to put them there? Also for the purposes of my website I really need the thumbnails to appear on the front page right next to where someone would click to see the full story. Is this what happens on default once the plugin is installed correctly? If not is teher anywayy to do this?

Thanks
Reply With Quote
  #33 (permalink)  
Old 06-24-2007, 10:52 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
hi ackza,

if the module is not showing the upload image button, be sure to check the following:

- image upload module is activated in the admin -> modules section.
- you've edit the submit_step_2.tpl, submit_step_3.tpl, link_summary.tpl, editlink_edit_center.tpl and editlink.php files are per the readme enclosed with the module.

If you can confirm that all of the above are done and it still doesn't show up, let me know and I can help find out what the problem might be.

Best,
Cent


Quote:
Originally Posted by ackza View Post
Hey I would first like to thank you for creating this plug in, but I have some problems. I followed all instructions and I there is no new image upload feild in the submit story page. Is it supposed to appear the same place where a user submits the details of the story? If not is there anyway to put them there? Also for the purposes of my website I really need the thumbnails to appear on the front page right next to where someone would click to see the full story. Is this what happens on default once the plugin is installed correctly? If not is teher anywayy to do this?

Thanks
Reply With Quote
  #34 (permalink)  
Old 06-26-2007, 05:20 PM
New Pligger
 
Join Date: Jun 2007
Posts: 5
I think I know why no extra feild is showing up,

in teh readme you wrote it says to configure the image_upload_settings.php file,. but i am a noob with some of this code

where it says module "imageupload_basedir" the default is $_SERVER['DOCUMENT_ROOT'].$mypliggbase

Now my pligg folder is not in the root of my server, it is in a directory called zach/pligg/ so what should I change in "$_SERVER['DOCUMENT_ROOT'].$mypliggbase" to reflect this location?

Also where the config file says "module_imageupload_imagedir: the default is
images/

But my images folder is in zach/pligg/images so how shoudl i go about changing this?

I think this is my problem and sorry for this being such a small thing, I just have no idea how to fix it.

thank you!!!
Reply With Quote
  #35 (permalink)  
Old 06-28-2007, 12:51 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
hi ackza,

before changing those values, which you may not have to do... double check to make sure everything was done in the TPL and the other files first. If the form isn't showing up, then that's the first place to look. If you want to post a ZIP of the files that the readme file mentioned you need to edit, I can see if it was done correctly.

Best,
Cent

Quote:
Originally Posted by ackza View Post
I think I know why no extra feild is showing up,

in teh readme you wrote it says to configure the image_upload_settings.php file,. but i am a noob with some of this code

where it says module "imageupload_basedir" the default is $_SERVER['DOCUMENT_ROOT'].$mypliggbase

Now my pligg folder is not in the root of my server, it is in a directory called zach/pligg/ so what should I change in "$_SERVER['DOCUMENT_ROOT'].$mypliggbase" to reflect this location?

Also where the config file says "module_imageupload_imagedir: the default is
images/

But my images folder is in zach/pligg/images so how shoudl i go about changing this?

I think this is my problem and sorry for this being such a small thing, I just have no idea how to fix it.

thank you!!!
Reply With Quote
  #36 (permalink)  
Old 06-29-2007, 11:04 AM
New Pligger
 
Join Date: Jun 2007
Posts: 1
Hi, I'm trying this mod, but when i upload an image it give me an error.

Code:
Warning: move_uploaded_file(//images/img_8.jpg): failed to open stream: No such file or directory in /home/www/mup.awardspace.com/modules/image_upload/image_upload_main.php on line 418

Warning: move_uploaded_file(): Unable to move '/tmp/phpEE4MCv' to '//images/img_8.jpg' in /home/www/mup.awardspace.com/modules/image_upload/image_upload_main.php on line 418

1 image error(s) found.
- Error processing image.

You can still submit this entry and edit it later with a smaller image or click MODIFY to try a different image.
what is the problem?

Thanks
Reply With Quote
  #37 (permalink)  
Old 06-29-2007, 11:14 AM
New Pligger
 
Join Date: Jun 2007
Posts: 14
Hello, Is there a way that I can have the image be a thumbnail on the summary pages & full size on the story page?

Also fyi I seem to have an intermitent problem...sometimes I will submit a story with an image & after cliking 'preview & submit' the next page is basically blank with no text from the story, image or buttons to submit. Happens maybe 1 out of 10 times & I can't seem to find a pattern to it.
Reply With Quote
  #38 (permalink)  
Old 06-30-2007, 12:33 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
monica79,

1) you can achieve the thumbnail on the story pages & full size on the story page by upgrading your image module to v1.1 (Download from the downloads area). Then you can use the smarty variables to display the thumbnail or full size image wherever you wish (See my sites below for examples)

2) Your intermittent problem is likely being caused because you cannot download large images with the old image module; the submit step fails. Again, upgrade to Image module v1.1 It should fix the problem...
Reply With Quote
  #39 (permalink)  
Old 06-30-2007, 01:22 PM
New Pligger
 
Join Date: Jun 2007
Posts: 14
Thanx aaronpais. I've installed the update.
I'd like to have it just like your Product Reviews site...but I don't have a clue about smarty variables. I've hunted the forums but cant find a good post...Maybe you could post the applicable code for me?
Reply With Quote
  #40 (permalink)  
Old 06-30-2007, 05:05 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
I am not using cent's smarty variables either. Basically I cannot use his MOD to display or edit images, since I am on a shared host and have some domain mapping complications. So I only use his MOD for upload.

I've msgd him a couple of times. Perhaps he will fix this in the next release...

I just directly reference the image in my code. Here is an example of how I display the image in a story for summary form, like on the index page -

PHP Code:
<img src="{$my_base_url}/images/img_{$link_id}.jpg" style="width:100px; height:100px; float:left; padding-right:10px;"

Last edited by aaronpais; 06-30-2007 at 05:09 PM.
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 268 02-03-2012 12:19 PM
[MOD] Image Upload Module (v1.0) -- Now Available cent Questions and Comments 190 01-08-2011 05:12 PM
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 02:44 AM
Image Upload Module - Really confused thefandango Questions and Comments 3 01-05-2009 12:01 PM
Image Upload Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 01: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