Question: Problem Upload Image

Problem Upload Image

Hello, I'm having problems uploading images. So I created a new menu called Payment, there is an image upload form, I took this form from the add warehouses form. Below is a video link for m

MA

Muhammad Aminudin

Asked

Hello, I’m having problems uploading images. So I created a new menu called Payment, there is an image upload form, I took this form from the add warehouses form. Below is a video link for my problems when uploading images.

https://drive.google.com/file/d/13aXZdsjoRo7X8yxq8CJE_rR1VEsfLPzL/view?usp=sharing

  • MA

    Muhammad Aminudin

    Answered

    on the backend I imitate the upload script in the add warehouse function.

  • MA

    Muhammad Aminudin

    Answered

    i created new features for needs my business, in this features there is upload images.

    i try copy code upload image from function add warehouses, yet i receive message “You didn’t select file to upload”, even though I have included an image in the image upload form.

  • MS

    Mian Saleem

    Answered

    Hello,

    I can’t help as I don’t know what code and field name are you using and how are you saving the file.

    You can see the add payment view (attachments) and controller code (add/edit methods) and compare with yours.

    We don’t offer support for modifications or modified versions, you are allowed to modify the item code at your own risk as you need as per license.

    Thank you

  • MA

    Muhammad Aminudin

    Answered

    Hello, where is the image upload function available on the controller?

    Can you explain a little how the image upload function works? do you use libraries?

  • MS

    Mian Saleem

    Answered

    Hello,

    You can refer to the CodeIgniter Guide at https://www.codeigniter.com/userguide3/libraries/file_uploading.html

    Thank you

  • Login to Reply