Image Upload / Image display with stories mod - Will pay for dev and share

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2007, 11:05 AM
New Pligger
 
Join Date: Apr 2007
Posts: 11
I have a concept that I am dying to put together. However, it is crucial that along with a story, users are able to either upload a photo or link to an existing image. I have poured over these boards for hours trying to piece together a viable solution.

Bryan Hunsinger has provided us with a potential solution to the upload request.
http://www.bryanhunsinger.com/articles/pligg/


http://www.trendn.com/shakeit.php?part=upcoming&order=1


I however, require more features then just this. The image needs to be cropped and adjusted to a thumbnail size. So all the images for the different story posts, end up being the same size in dimensions. As a designer, it drives me insane seeing the example above.

Here is an example of what my goal is. Clean, uniform sized images being displayed along side the story. A user would be able to either upload the image, or provide a link for it. And it would be rendered the same way for every post.



Now, a code base that has this function. Is the open source zenphoto, here is an example of their working demo gallery.

I dont want people commenting on images, i dont need a photo gallery or anything elaborate. Just the simple addition of users being able to :

1. Upload an image for the story post.
2. Link to an existing image online for the story post.

And for those images to be formatted and cropped to a specified size. The images don't even need to link to bigger versions of themselves, i don't need any thumbnailing. The images will link right to the source.

I have really fallen for pligg and I really need to see a solution to this asap. I am more then willing to pay a talented and willing developer to create this mod, and I would be happy to share the creation with the community.

Thank you all very much.
Reply With Quote
  #2 (permalink)  
Old 04-04-2007, 12:02 PM
New Pligger
 
Join Date: Apr 2007
Posts: 11
...looking into phpthumb now...

Any way to solve that duplicate image entry problem?
Reply With Quote
  #3 (permalink)  
Old 04-05-2007, 12:14 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Hi All,

The easiest way to prevent filename collisions is to use uniqid(). This will give each filename, well, a unique name.

Best,
Cent
Reply With Quote
  #4 (permalink)  
Old 04-05-2007, 04:53 PM
New Pligger
 
Join Date: Apr 2007
Posts: 11
Hey guys, I have been working with a novice programmer friend of mine. Between the two of us we managed to put this together so far:

http://www.adampootsvsatari.com/social_4/upcoming.php

I cant seem to get the vote system to work. Ive looked into some of the fixes here on the forum to no avail.

Using the zoom and crop function of phpthumb.

If i manage to complete everything that I want to with the site. I will be happy to package the directions to emulate it.
Reply With Quote
  #5 (permalink)  
Old 04-06-2007, 01:34 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
hi adampoots,

if you need help, let me know. Is this hard-coded or is a module? I've started writing a photo upload module that I would give back to the community. The idea is to show a thumbnail next to the entry which will be clickable initiating lightbox to show the fullsize image. Hopefully also including caption support as well.

It would then be rolled into a separate module to allow upload for an MP3 file, also using Lightbox to display a Flash player or include a flash player within the entry. This would probably use getid3 support to pull meta data from the MP3 if available.

In either case, if you're working on a module I'd like to help if I can. If its hard-coded, I'd still like to check it out.

Best,
Cent
Reply With Quote
  #6 (permalink)  
Old 04-06-2007, 01:49 AM
New Pligger
 
Join Date: Feb 2007
Posts: 21
adam, nice work so far, love the size of the images.
Reply With Quote
  #7 (permalink)  
Old 04-10-2007, 06:02 PM
New Pligger
 
Join Date: Apr 2007
Posts: 7
Yeah, it looks REALLY good. Please let us know when you've got it ready!!!
Reply With Quote
  #8 (permalink)  
Old 04-10-2007, 07:20 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Hi abcdefgary,

I've revised my image upload module and will posting it in the next few minutes... writing the readme file that goes with it.

Uniqid is a PHP function to create characters that are based (I believe if memory serves me) on the date/time and probably some other factors.

Such that: $thisname = uniqid('img_');
would be something like img_j83ufha82af98

Taking it further... $thisname = uniqid('img_').".jpg";
would return something like img_8d7838fd8f.jpg

However, after further thought, I thought it would just be simpler to name the .jpg the same as the entry ID.

Best,
Cent
Reply With Quote
  #9 (permalink)  
Old 04-10-2007, 07:22 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 277
Cant wait to see this - you've got everyone on the forum excited....
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Mod -- Display related stories revenazb Questions and Comments 46 07-07-2007 01:19 AM


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