26267Adding Drop Shadows with PHP by Timothy Boronczykhttp://codewalkers.com/tutorials/83/1.htmlImagine a scenario where you have an online photo album and the layout calls for drop shadows to be placed behind each image. It would be a hassle to manually add the shadow to each image... and actually modifying the original picture might not be possible depending on the circumstance. But if there're a few extra processor cycles available on the server, why not script the shadow using PHP?PHP > Tips and Tutorials > Image ManipulationOct 15, 2006Timothy Boronczyk
About a year ago I created a signature for use in forums. This sig is an image that display's the last 5 tutorials (or tips) that have been approved at CodeDemons. Because I have had many people asking me how I did this, I am going to explain. With this knowledge you can do just about anything with your sig. You will know how to pull any information from a database and drop it in an image. It does not even have to be a signature.
Depending upon how it's done, displaying a page of thumbnail images can be very cumbersome. Allowing the browser to resize images requires the client browser to download the entire, full-size image, then clumsily resize the image to a specified size. This causes the page to load very slowly and creates unavoidable distortion in the resulting images. The other option is to make separate thumbnail images for each individual image. This is fine if you only plan to display a few images, but becomes unrealistic on a large scale or a site involving dynamic images. Fortunately there are ways around these problems using the GD library in PHP.
JPEG compresses an image based on the color information present in the image (2). Thus, the file sizes are not a true representation of how large an image is when displayed on screen. In trying to sort out small images based on their width or height we face the challenge of sorting images which are unusually tall or wide. Hence, sorting images based on their pixel dimension is a more accurate way of sorting images into groups.
You have created a cool contact directory and you want to allow people to upload their own photos, or you want to create an image repository which you upload images and create thumbnails out of them. Whatever it is, you need to be able to upload images and resize them
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.