News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DesignShack.com:
How to Build a Dynamic Imgur Upload App Using jQuery & PHP
August 30, 2013 @ 09:51:03

On DesignShack.com Jake Rocheleau has a tutorial showing you how to create an image uploader that pushes the image over to the Imgr service.

In this tutorial I want to demonstrate how we can remotely mirror an image found elsewhere online and auto-upload to Imgur. It's possible to create a form handling user-uploaded images as well. But I wanted to keep the demo clean without needing to move user content onto the server. This process is very simple once you understand how APIs work.

He provides all of the code and guidance you'll need to get the system working. It uses a simple HTML layout, some jQuery for submitting the image data back to the the server and a PHP script to call the Imgr API. It uses curl to make the call, so you'll need that extension installed to use the example. You can check out the live demo or just download the source to get started quickly.

0 comments voice your opinion now!
imgr upload jquery tutorial javascript api curl

Link: http://designshack.net/articles/javascript/how-to-build-a-dynamic-imgur-upload-app-using-jquery-php/

blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Create APIs with FRAPI

DevSnippets.com: Getting Started with CodeIgniter and How to Create All Those Great Apps

Vid Luther's Blog: Deploying Wordpress with Phing to the Rackspace Cloud

DevShed: Intercepting Customized Exceptions in PHP 5

SitePoint PHP Blog: Geospatial Search with SOLR and Solarium


Community Events

Don't see your event here?
Let us know!


opinion series voicesoftheelephpant list community language introduction interview api release extension library version laravel podcast php7 example framework laravel5 security

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework