Tag Archives: Image

Get Image SRC Value Using Jquery

By | May 29, 2016

Many times we need our image URL for performing some actions like zooming, changing or providing effects. In this tutorial we will get the Image SRC value using Jquery. In this tutorial we will divide the code into 2 parts. “HTML and JQUERY”. Index.html <img src=”logo/logo.png” id=”logo”> <input type=”button” id=”bt” name=”bt” value=”Click Me”> <p id=”name”… Read More »

Add Watermark Image in PHP | Create Watermark in PHP

By | February 19, 2016

Add watermark image in PHP its our new tutorial. You can add your watermark image to your image. Now you dont need to open Photoshop and do this. Here is the very simple and short code for adding your image. addWaterMark(“Your path to image”); function addWaterMark($filename){ $logoImage = imagecreatefrompng(‘logo.png’); $logoWidth=imagesx($logoImage); $logoHeight=imagesy($logoImage); $im = imagecreatefromjpeg($filename); $sx… Read More »