Results 1 to 7 of 7

Thread: Image uploading/managing script

  1. #1
    Join Date
    Sep 2008
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Image uploading/managing script

    Hey guys, I'm looking for a script that I can use that will do the following on my server:

    • upload multiple images
    • be able to manage/organized said images (by thumbnails)
    • be able to create new directories
    • be seen only by me (well I guess if it is public, if I don't tell anyone about it, no one can mess with it)


    Anyone have any suggestions?
    Last edited by jzhang1013; 05-15-2009 at 02:44 PM.

  2. #2
    Join Date
    May 2009
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    It's not that hard.
    When I was building my first photo gallery, people said "Oh, use the move_uploaded_file function."
    I was stumped, then I came up with a system that uploads the file to a folder, and then publishes the name of the file to a MySQL database, then on the photo.php?id=(photo number) page, I have
    PHP Code:
    <img src="../photo/uploads/<?=$filename?>" style="max-width: 500px;" />
    Easy peasy.

  3. #3
    Join Date
    Sep 2008
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    bump anyone got anymore input. I'm sure you all should know what I'm talking about or maybe my description was a little off. I basically want a serverside image uploader/organizer just like what you see on photobucket or facebook.

  4. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    question: if you don't want anyone else to be allowed to do this, and you're uploading the images anyway, why don't you just do it all from your ftp program? unless you want to be able to do it from remote locations, in which case you need a CMS.

    BTW, this:
    Quote Originally Posted by jzhang1013 View Post
    ...(well I guess if it is public, if I don't tell anyone about it, no one can mess with it)...
    is the worst security measure possible. If it works, it's a coincidence.

  5. The Following User Says Thank You to traq For This Useful Post:

    jzhang1013 (05-18-2009)

  6. #5
    Join Date
    Sep 2008
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by traq View Post
    question: if you don't want anyone else to be allowed to do this, and you're uploading the images anyway, why don't you just do it all from your ftp program? unless you want to be able to do it from remote locations, in which case you need a CMS.

    BTW, this:


    is the worst security measure possible. If it works, it's a coincidence.
    basically I want to visualize my directories, is there a simple serverside code/script for this?

  7. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    most hosts provide some such program. I don't know who your host is, but look in your admin panel for something like this:

    However, I never use stuff like that. What I was actually suggesting is managing everything on your own machine: e.g., creating a folder for your webspace and organizing its subfolders, files, etc. the way you want them on your actual site. You can upload the whole thing once, then upload/ delete stuff as you update.
    This might not work for you, but I find it useful because it gives me more direct control of all my site files, and it also provides me with "backups" of my work in various stages.

  8. The Following User Says Thank You to traq For This Useful Post:

    jzhang1013 (05-19-2009)

  9. #7
    Join Date
    Sep 2008
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by traq View Post
    most hosts provide some such program. I don't know who your host is, but look in your admin panel for something like this:

    However, I never use stuff like that. What I was actually suggesting is managing everything on your own machine: e.g., creating a folder for your webspace and organizing its subfolders, files, etc. the way you want them on your actual site. You can upload the whole thing once, then upload/ delete stuff as you update.
    This might not work for you, but I find it useful because it gives me more direct control of all my site files, and it also provides me with "backups" of my work in various stages.
    exactly. I'm using hostgator.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •