CSS Image Sprites

CSS sprites are used to reduce the number of HTTP requests send to server. The smaller images are combined into a larger one at defined X and Y coordinates. After assigning this generated image to relevant page elements, using the background-position CSS property we can then shift the visible area to the required component image. Why we use image sprites: 1 : …

CodeIgniter Template : Adding Header, Footer and Dynamic Content

CodeIgniter MVC work on a separate layer, applying MVC pattern, it is recommended that header, footer, side menu bar should be separate. Benefits of using these architectures are. If your website contains multiple pages and all have a header, footer and menu bar and if you want to make some changes on header so you …

CodeIgniter Image Library For Image Manipulation

While developing any web application there is a need to manipulate image dynamically such as while uploading an image. In this tutorial we are going to explain an example, which shows how to use CodeIgniter’s image library for Image Manipulation. You can find Image_Lib.php class inside your CodeIgniter project’s system/libraries folder. First load image_lib library in your …