Upload Images Snippets


07 March, 2011   

Shows how to upload a single file to a FTP server.

03 August, 2013   

ColdFusion code for upload files to directory

I had to scan a bunch of paper documents (one image per page), and upload them all to a web site that would accept only one PDF file containing the whole set.

05 January, 2012   

You need to nest one element inside the other to add full length side border using images

05 February, 2014   

We created a slide show that allowed the user to move through an array of images.

Example shown here how to preload the images with jquery in WordPress.

jQuery example code to add image to browser cache

17 February, 2019   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...

This PHP script will get the day of the week from the server date and then display an image (jpg or gif) to match.

11 March, 2015   

PHP code shows how to upload images into a mysql database using

01 February, 2011   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...

CSS code to create resizable images With CSS

Change Graphics Based on Season

31 May, 2012   

iPhone code snippet to show a series of images

18 February, 2011   

Change Graphics Based on Season

11 February, 2013   

File inputs can have an attribute of "multiple" which then allows multiple files to be selected in the file section dialog box.

11 June, 2012   

You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.

Cross Browser Vertically and Horizontally Centered Images in CSS without Tables

An example code using jQuery Auto Image Scroller

11 May, 2013   

Generate CAPTCHA images for form validation without any outside library's or plug-ins