#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Location
    Philippines
    Posts
    84
    Rep Power
    5

    PHP Design on Article with Image (Edit/Create)


    Hello there is this big question coming out on my mind on how I will edit an article with an image? Because in some case, I need to reupload the image in order for me to edit it, or put a value inside the Input File but it will reupload the image.

    What design should I do in this kind of situation? Thank you in advance!
  2. #2
  3. Headless Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,966
    Rep Power
    9647
    So one thing you need to keep in mind when asking questions on the internet is that nobody knows your situation - certainly not nearly as well as you do. We don't have any idea what articles or images or "input files" you're talking about.

    With that said, it would be nice if you didn't have to upload the same image again. The image should be handled as an attachment related to the thing being edited, and when editing you can present the list of attachments to the user. That way when they edit they don't have to upload it again because it's still there. How they get the image into the article thing is a different question...

IMN logo majestic logo threadwatch logo seochat tools logo