= 1024 && $size < 1024*1024) return sprintf('%01.2f',$size/1024.0).' Kb'; else return sprintf('%01.2f',$size/(1024.0*1024)).' Mb'; } if (isset($_FILES['file'])) { $file = $_FILES['file']; $ext = strrchr($file['name'],'.'); if (!in_array($ext,$limitedext)) { $message = "The file you are uploading doesn't have the correct extension."; } else if (file_exists($LocalPicturePath.'\\'.$file['name'])) { $message = "The file you are uploading already exists."; } else if ($file['size'] > $limitedsize) { $message = "The file you are uploading is to big. The max Filesize is ".formatSize($limitedsize)."."; } else { copy($file['tmp_name'], $LocalPicturePath.$strPathSeparator.$file['name']); } } ?> Insert Image
Insert Image
Images on the Server:
'; } else { echo '
'; } ?>

Image Preview:
Image URL:
Alternate text:

Layout
Alignment:

Border thickness:
Spacing
Horizontal:

Vertical: