jQuery – Zoom images on mouse over with ZooMove

You may have already seen the zoom effect on the view product details page on e-commerce websites. The part of the image will zoom according to the mouse movement.

You can also implement this on your own website to provide a better user experience and allow them to get a closer look at an image.

In this tutorial, I am using the ZooMove jQuery plugin for zoom functionality. It is easy to implement and customizable.

jQuery - Zoom images on mouse over with ZooMove

Read more

Upload and store an image in the Database with PHP

Uploading and storing an image in a database using PHP is a common task in web development. By storing images directly in the database, you can easily manage, retrieve, and manipulate image data alongside other relevant information. This simplifies data backup and recovery processes and ensures data integrity.

In this article, I will show you 3 approaches to accomplish this –
1. Storing image files by saving their file path or name,
2. Encoding images as base64, and
3. Storing images as BLOB (Binary Large Object) data.

Additionally, we will delve into the retrieval process to display the uploaded images from the database.

By the end of this article, you will have a better understanding of various techniques to upload images to a database and retrieve them for display on your web application.

Upload and store an image in the Database with PHP

Read more

Show Notification, prompt, and confirmation with Overhang.js

Overhang.js is a lightweight jQuery plugin that displays notification, prompt, and confirmation on the screen.

This adds a strip bar at the top of the page when it executes.

It has various options that help us to customize e.g. duration, speed, etc and change the look according to the website theme e.g. change background, accent, and message text color.

It also uses the jQuery UI library to display an alert on the screen.

Show Notification, prompt, and confirmation with Overhang.js

Read more