2017 © Pedro Peláez
 

library imageuploader

Utility to support image uploading and base64 encoded images in tags

image

firegate666/imageuploader

Utility to support image uploading and base64 encoded images in tags

  • Friday, October 9, 2015
  • by firegate666
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11,084 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

Image uploader

Upload an image file and print it as base64 encoded image, (*1)

HTML

<form method="post" enctype="multipart/form-data">
    <input type="file" name="uploaded_image" />
</form>

PHP

$uploader = new ImageUploader($_FILES);
$base_64_encoded = $uploader->getBase64EncodedImageData('uploaded_image');
$width = $uploader->getWidth('uploaded_image');
$height = $uploader->getHeight('uploaded_image');

print '<img src="' . $base_64_encoded . '" width=" . $width . " height=" . $height . " />'

The Versions

09/10 2015

dev-master

9999999-dev

Utility to support image uploading and base64 encoded images in tags

  Sources   Download

Apache-2.0

by Marco Behnke

09/10 2015

1.0.2

1.0.2.0

Utility to support image uploading and base64 encoded images in tags

  Sources   Download

Apache-2.0

by Marco Behnke

26/08 2015

1.0.1

1.0.1.0

Utility to support image uploading

  Sources   Download

Apache-2.0

26/08 2015

1.0.0

1.0.0.0

This is Grepolis

  Sources   Download

Apache-2.0