select images for submission in development

Register an Account
Pligg Chat Room
Closed Thread
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-25-2008, 11:25 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 69
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Quote:
Originally Posted by joehunk View Post
There is a drawback on using this bec it won't reduce the size of the image when submit. A hack on image_upload to implement the same approach as your current code will be a good start. Use GD and then when submits thumbnail is generated and uploaded to the site. I am working on this right now and will upate once done. I am using image_upload and lytebox to show images in pop up. See it in action in my mini-pligg site below. Thx to cents for having this module.
putting the two mods togheter will bring pligg to a massive step forward! I can't wait to see it!
  #32 (permalink)  
Old 07-28-2008, 03:48 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 69
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Quote:
Originally Posted by rubber2002 View Post
Its working now for me but taking loads of time. any tip to speed up the image fetching process?
for me it does not work... I get a syntax error, T_VARIABLE unexpected with the function on libs.php
  #33 (permalink)  
Old 07-28-2008, 04:42 AM
New Pligger
 
Join Date: Feb 2008
Posts: 8
Quote:
Originally Posted by sixlaneve View Post
for me it does not work... I get a syntax error, T_VARIABLE unexpected with the function on libs.php
uses this file to see if it works now

libs/link.php
Attached Files
File Type: php link.php (49.7 KB, 172 views)
  #34 (permalink)  
Old 07-30-2008, 10:27 AM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 69
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
it works, thank you!

now it's submit.php to give me the same error!
  #35 (permalink)  
Old 07-30-2008, 12:04 PM
micxuy's Avatar
Casual Pligger
 
Join Date: May 2007
Posts: 87
One of the disavantage of this mod is slow. Because it is using getimagesize in order to show only the images which are bigger then X, so if the website has many images, and you dont have the good server, will lead to time out
  #36 (permalink)  
Old 07-30-2008, 03:48 PM
New Pligger
 
Join Date: Feb 2008
Posts: 8
Quote:
Originally Posted by sixlaneve View Post
it works, thank you!

now it's submit.php to give me the same error!
its is my file
Attached Files
File Type: php submit.php (18.3 KB, 156 views)
  #37 (permalink)  
Old 08-24-2008, 12:52 AM
New Pligger
 
Join Date: Jun 2007
Posts: 3
Quote:
Originally Posted by micxuy View Post
One of the disavantage of this mod is slow. Because it is using getimagesize in order to show only the images which are bigger then X, so if the website has many images, and you dont have the good server, will lead to time out
Hi, you seem to know what you are talking about. I installed the script on my Pligg site V9.9.5 and it is fetching the images but the image is not being showed with the story. I believe there is a simple fix for it but I wouldn't know. Can you or anyone here help me please? Thank you!
  #38 (permalink)  
Old 08-25-2008, 05:03 AM
New Pligger
 
Join Date: Jun 2007
Posts: 3
Quote:
Originally Posted by nenesio View Post
its is my file
Hi,
thank you for taking the time to post your script here. I installed it on my site and the image fetching is working, the problem is that the image that i am choosing is not appearing with the story. There may be some script missing for the index file, or something wrong since I am using v9.9.5. Could you please help me ?
  #39 (permalink)  
Old 09-01-2008, 09:17 PM
grimusm's Avatar
Casual Pligger
Pligg Version: 9.7
Pligg Template: custom
 
Join Date: Aug 2007
Posts: 51
Quote:
Originally Posted by vinny View Post
Hi,
thank you for taking the time to post your script here. I installed it on my site and the image fetching is working, the problem is that the image that i am choosing is not appearing with the story. There may be some script missing for the index file, or something wrong since I am using v9.9.5. Could you please help me ?
Also having the same problem. Have installed the mod, and it is finding images correctly. Submission goes smoothly.

However i can't see anything in the script on how to display the image gets displayed in the link/story.

Also looking at the db, link_field1 is empty after the submission. It looks like the image is not being saved to the db.

Any help?
  #40 (permalink)  
Old 09-06-2008, 12:22 AM
New Pligger
Pligg Version: 9.8
Pligg Template: template
 
Join Date: Jan 2008
Posts: 7
so cool but slow process (after submit link)
-------------------------------------------
pls visit mysite : sig.vn
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS importer doesn't import images from feeds lostdeviant Questions and Comments 12 03-22-2009 09:35 PM
Profile Badges and Images EASY work 30 usd winner! bbrian017 Questions and Comments 0 04-25-2008 10:47 AM
The Real Cause Of High Load For My Server Using PLigg 9.9 and Was 9.8.2 argh2xxx Questions and Comments 18 01-10-2008 04:33 PM
'max_user_connections' suddenly exceeded mightyb Questions and Comments 10 06-13-2007 04:40 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