Results 1 to 9 of 9
  1. #1
    New Pligger adampoots's Avatar
    Joined
    Apr 2007
    Posts
    11
    Thanks
    Received:0
    Given: 0

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

    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.

  2. #2
    New Pligger adampoots's Avatar
    Joined
    Apr 2007
    Posts
    11
    Thanks
    Received:0
    Given: 0
    ...looking into phpthumb now...

    Any way to solve that duplicate image entry problem?

  3. #3
    Constant Pligger cent's Avatar
    Joined
    Jan 2007
    Posts
    180
    Thanks
    Received:0
    Given: 0
    Hi All,

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

    Best,
    Cent

  4. #4
    New Pligger adampoots's Avatar
    Joined
    Apr 2007
    Posts
    11
    Thanks
    Received:0
    Given: 0

    What Ive got so far.

    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.

  5. #5
    Constant Pligger cent's Avatar
    Joined
    Jan 2007
    Posts
    180
    Thanks
    Received:0
    Given: 0
    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

  6. #6
    New Pligger PeteK's Avatar
    Joined
    Feb 2007
    Posts
    21
    Thanks
    Received:0
    Given: 0
    adam, nice work so far, love the size of the images.

  7. #7
    New Pligger caredemption's Avatar
    Joined
    Apr 2007
    Posts
    7
    Thanks
    Received:0
    Given: 0
    Yeah, it looks REALLY good. Please let us know when you've got it ready!!!

  8. #8
    Constant Pligger cent's Avatar
    Joined
    Jan 2007
    Posts
    180
    Thanks
    Received:0
    Given: 0
    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

  9. #9
    Constant Pligger P1mpPanther's Avatar
    Joined
    Feb 2007
    Posts
    277
    Thanks
    Received:0
    Given: 0
    Cant wait to see this - you've got everyone on the forum excited....

Similar Threads

  1. Image Upload - Make image link to story
    By swese44 in forum Questions & Comments
    Replies: 1
    Last Post: 07-22-2008, 06:07 PM
  2. Need Help in Image Upload mode in display specified thumbnails
    By TypeEE in forum Questions & Comments
    Replies: 0
    Last Post: 07-20-2008, 12:38 AM
  3. Miising loading image in image upload/thickbox module
    By Peter in forum Questions & Comments
    Replies: 5
    Last Post: 12-05-2007, 11:24 PM
  4. Any possible way to upload image + insert avatars in stories
    By johnvgross in forum Questions & Comments
    Replies: 1
    Last Post: 11-26-2007, 07:19 AM
  5. Replies: 10
    Last Post: 02-17-2007, 11:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg