The better way to load XML document on all browsers is to use AJAX technique.
So, How to load it then?
You can download the uploader.class.php file from this link:
This class can:
– Upload images and files.
– Resize images.
– Crop images.
I was looking for a simple way to crop part of an image using PHP code. The idea of this is to create image thumbnail for large images uploaded. These large images could be used for previews, screen shots, wallpapers.. etc.
And because we don’t have an exact ratio between Image width and height, we should crop part of the original image to use it as a thumbnail.
Note: we can find the ratio between width and height and then resize the image. But this won’t work prefect, so we better use cropping to get the size we need.
Also, we can crop part of resized image to use it as a thumbnail.
Let me now explain the code used to crop part of image.
// Receiving … Read More »
Dual licensed under the MIT License and the GNU General Public License, jQuery is free and open source software.
Both Microsoft and Nokia have announced plans to bundle jQuery on their platforms, Microsoft adopting it initially within Visual Studio and use within Microsoft’s ASP.NET AJAX framework and ASP.NET MVC Framework whilst Nokia will integrate it into their Web Run-Time platform.