Cloudinary Blog
New interactive web development demo with code samples
Developing a great website and maintaining it can be a challenging and time-consuming task, even for the most talented developer. You need to meet graphic design requirements for any device according to the latest design trends, and constantly find ways to optimize your website performance, for any browser. 
We can save you a lot of time and effort. Cloudinary takes care of the entire image management pipeline: image upload, a rich set of manipulation and optimization capabilities, cloud storage, administration and super-fast CDN delivery. 
 
We invite you to experience Cloudinary in action with our new interactive demo. 
The demo will walk you through visual image manipulation and optimization examples, as well as some use-cases of popular website implementations. All this is accompanied by ready-to-use code samples in Ruby on Rails, PHP, Node JS, Angular JS, jQuery and more.  
 
 
Here are the top 5 demo highlights that can save a lot of time and effort in your website or app development.

1. Upload images directly from the user's browser

Rather than users uploading images to your own servers, or using a cloud storage solution that still requires that you handle the upload yourself, Cloudinary lets you upload images directly from the user's browser with no server-side work at all. The interactive demo uses our very own upload widget to upload images directly from the browser to Cloudinary. 
 
The upload widget is a complete UI solution you can embed in your website with a single line of Javascript code. It allows your users to upload selected images from any device or using a remote URL. The upload widget can also be customized in any look & feel and configured to support capturing photos from your users' camera, interactive cropping, thumbnail previews, and more

2. Resize & crop images on-the-fly to fit any layout

Every image is uploaded once, and stored once. From then onwards it is reused and instantly delivered in any size and aspect ratio, to fit multiple device layouts and resolutions, using a single URL with on-the-fly manipulation or a single line of code. This is even more powerful the next time you want to redesign your website - there is no manual image work required, simply change that one line of code. 
 
Resize and crop images from code
 
Other than scaling to any size, images can be intelligently cropped to maximize the visibility of important areas within the image, whether using automatic face detection, or auto-detected areas of interest.

3. Dynamically apply effects, add watermarks and overlay texts to fit any graphic design

Graphic design or other requirements usually involve more than resizing and cropping. The interactive demo page shows how to apply effects, such as sharpening the image, artistic filters, colorization, and more. It also shows how you can add watermarks and text overlays, or create thumbnails based on automatic face detection - on-the-fly using dynamic delivery URLs
 
Effects, watermark and overlays
 

4. Optimize image size and website performance

Images typically account for the majority of a website's bandwidth, and it's important to take the necessary steps to optimize them. In the interactive demo, you can see exactly how much bandwidth you could be saving by adjusting the compression quality or converting to different image formats (depending on browser support). And yes, this too, with a single URL or line of code. 
Optimal image size and performance
 
Cloudinary can also optimize the file size vs. the perceived visual quality, on-the-fly, by intelligently tuning encoding and compression settings and then selecting the appropriate image format based on the specific image's content. This is done with our intelligent quality selection algorithm.

5. Explore popular website implementation examples

Putting it all together - below is a screenshot from the interactive demo, showing how Cloudinary can be used to easily create product galleries for e-commerce sites: browsing between different product images (or colors using thumbnails), and allowing users to zoom in on every detail. 
 
Image management in ecommerce
 
The interactive demo presents some examples of how Cloudinary can be used to build and optimize e-commerce sites, news & media sites, or social sites and apps.
 
The examples are fully responsive - try them out on any device or resolution, and notice how the optimal image is delivered every time using Javascript code that detects the device DPR and the allocated width. 

Summary

One of our main goals when creating this interactive demo was to show how easily you can build a responsive website with user uploaded images, that perfectly fits the graphic design and layout of your website or app.
 
Every feature you see in the interactive demo, and a whole lot more, is available as part of our free plan. We're very excited to finally make this demo publicly available. You can use it as a quick reference guide - grab some code samples, and try them out. We hope you like it :)
 
 

Recent Blog Posts

Build the Back-End For Your Own Instagram-style App with Cloudinary

Github Repo

Managing media files (processing, storage and manipulation) is one of the biggest challenges we encounter as practical developers. These challenges include:

A great service called Cloudinary can help us overcome many of these challenges. Together with Cloudinary, let's work on solutions to these challenges and hopefully have a simpler mental model towards media management.

Read more

Build A Miniflix in 10 Minutes

By Prosper Otemuyiwa
Build A Miniflix in 10 Minutes

Developers are constantly faced with challenges of building complex products every single day. And there are constraints on the time needed to build out the features of these products.

Engineering and Product managers want to beat deadlines for projects daily. CEOs want to roll out new products as fast as possible. Entrepreneurs need their MVPs like yesterday. With this in mind, what should developers do?

Read more

Your Web Image is Unnecessarily Bloated

By Christian Nwamba
Your Web Image is Unnecessarily Bloated

As a developer, it seems inefficient to serve a 2000kb JPEG image when we could compress images to optimize the performance without degrading the visual quality.

We are not new to this kind of responsibility. But our productivity will end up being questioned if we do not deliver fast. In order to do so, the community has devised several patterns to help improve productivity. Let's review few of these patterns based on their categories:

Read more

Google For Nigeria: We saw it all…

By Christian Nwamba
Google For Nigeria: We saw it all…

Note from Cloudinary: Christian Nwamba, a frequent Cloudinary contributor, recently attended, and was a main speaker, at the Google Developer Group (GDG) Conference in Lagos, Nigeria. Christian led a session teaching more than 500 developers how to “Build Offline Apps for the Next Billion Users.” The stack he used included JS (Vue), Firebase, Service Workers and Cloudinary. Below is his account of the conference and his talk.

Read more
Viral Images: Securing Images and Video uploads to your systems

When was the last time you got paid $40,000 for a few days of work? That is what happened last year to Russian independent security researcher Andrey Leonov, who discovered that if you upload a specially constructed image file to Facebook, you can make Facebook's internal servers, nested deep within their firewalls, run arbitrary commands to expose sensitive internal files in a way that could easily lead to a data breach.

Read more