[MOD] Image Upload (v.1)

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 04-11-2007, 05:59 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 277
Im going to check this out tonite - just wanted to say a BIG thanks to Cent for this one!! (also the Pligg team for being guinea pigs!)
Reply With Quote
  #32 (permalink)  
Old 04-11-2007, 06:49 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Thickbox on its on, doesn't do anything. It's similar to lightbox in functionality, but smaller (compact) and seems easier to use in my opinion.

However, the messaging module uses Lightbox.

Best,
Cent

Quote:
Originally Posted by Geoserv View Post
Aside from sending a private message what else should the thickbox be doing?

Geoserv
Reply With Quote
  #33 (permalink)  
Old 04-11-2007, 08:57 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
So thickbox is replacing lightbox? I have both installed, which one am I seeing when I message someone?

Geoserv
Reply With Quote
  #34 (permalink)  
Old 04-11-2007, 09:02 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Lightbox is used with messaging. Thickbox is different javascript that does practically the same thing. Cent created the thickbox module and then made his image upload module use it. I haven't done enough testing to see if the thickbox will interfere with lightbox
Reply With Quote
  #35 (permalink)  
Old 04-11-2007, 09:25 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
I get this error when trying to attach an image:

Quote:
Warning: move_uploaded_file(/home/newsdots/public_htmlimages/img_811.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/newsdots/public_html/modules/image_upload/image_upload_main.php on line 94

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpO3q6kq' to '/home/newsdots/public_htmlimages/img_811.jpg' in /home/newsdots/public_html/modules/image_upload/image_upload_main.php on line 94
Any ideas?

Geoserv.
Reply With Quote
  #36 (permalink)  
Old 04-11-2007, 09:28 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
For some reason you're missing a "/" before "images"

Code:
'/home/newsdots/public_htmlimages/img_811.jpg' in
Reply With Quote
  #37 (permalink)  
Old 04-11-2007, 09:32 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Ok, I added the "/", now I get:

Quote:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/newsdots/public_html/modules/image_upload/plugins/class.imageconverter.inc.php on line 83

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/newsdots/public_html/images/img_812.jpg' is not a valid JPEG file in /home/newsdots/public_html/modules/image_upload/plugins/class.imageconverter.inc.php on line 83

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/newsdots/public_html/modules/image_upload/plugins/class.imageconverter.inc.php on line 152
Reply With Quote
  #38 (permalink)  
Old 04-11-2007, 09:34 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
The image I am trying to upload is actually a gif not a jpeg.

Geoserv.
Reply With Quote
  #39 (permalink)  
Old 04-11-2007, 09:37 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
You can try it yourself at http://www.newsdots.com

Login: altdell
Pass: raven3

Geoserv

If I go to my images folder, the image is there.
Reply With Quote
  #40 (permalink)  
Old 04-11-2007, 09:56 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Ok, I tried an image that had .jpg, it owrked, but when I click on the image it doesn't enlarge.

So, is there something wrong with images that aren't jpeg?

Here is a post that this mod worked on:
http://www.newsdots.com/story.php?ti...y-USA--Great-2

Geoserv
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 158 03-19-2010 04:49 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 Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 12:13 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Questions and Comments 8 04-10-2007 07:22 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