How to Upload and Resize Image in CodeIgniter 4

CodeIgniter 4 already has an Image Manipulation class for customizing images. With this, you can resize, change quality, rotate, crop, and add a watermark to the image.

It supports GD and ImageMagick library.

In this tutorial, I show how you can upload and resize image dimensions in CodeIgniter 4.

How to Upload and resize image in CodeIgniter 4

Read more

5 Star Rating system with jQuery AJAX in CodeIgniter 4

The 5 star rating system allows users to rate articles on a scale of 1 to 5.

It is a popular way for visitors to merchant websites to rate the quality of products and services. It is also commonly used to rate the quality of user-generated content, such as reviews and comments.

In this tutorial, I am creating a 5 star rating system in CodeIgniter 4 where the ratings will be stored in a database and the average rating will be displayed with the article. Users can rate an article and based on the rating the average rating gets updated.

5 Star rating system with jQuery AJAX in CodeIgniter 4

Read more

Save CKEditor 5 data to MySQL database in CodeIgniter 4

CKEditor 5 is easy to use and has lots of features. User can preview the content how it will display on the page while adding data in the editor.

In the editor you can add paragraph, heading, create list, add links and images, etc.

You need to configure CKEditor for file upload otherwise, the file will not load in the editor.

In this tutorial, I show how you can add CKEditor 5 with file upload and save its data to the MySQL database in CodeIgniter 4.

Save CKEditor 5 data to MySQL database in CodeIgniter 4

Read more