Skip to content

iwane021/ci4-upload-image-sample

Repository files navigation

Upload Multiple Image with Validation in Codeigniter 4

In this project I made two cases, including uploading images with cURL and uploading multiple images.

Features

  • Using Bootstrap 5
  • Including Validation Error Message
  • Multiple selected images and save data into database
  • Create your own database in mysql and run php spark migrate
  • Preview image after uploaded
  • Show Alert message after uploaded
  • Support upload image using cURL, please clone RestAPI from : https://github.com/iwane021/api-upload-php

Screenshoot

Single Upload with RestAPI

  • Route : $routes->get('page', 'Api\PagesController::index');

  • Validation upload-single-validation

  • Result upload-single-result

Multiple Upload

  • Route : $routes->get('upload-image', 'ImageController::index');

  • Validation upload-multiple-validation

  • Result upload-multiple-result

Contact Us : iwan.webdeveloper@gmail.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published