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

Hipcamp Optimizes Images and Improves Page Load Times With Cloudinary

When creating a website that allows campers to discover great destinations, Hipcamp put a strong emphasis on featuring high-quality images that showcased the list of beautiful locations, regardless of whether users accessed the site on a desktop, tablet, or phone. Since 2015, Hipcamp has relied on Cloudinary’s image management solution to automate cropping and image optimization, enabling instant public delivery of photos, automatic tagging based on content recognition, and faster loading of webpages. In addition, Hipcamp was able to maintain the high standards it holds for the look and feel of its website.

Read more
New Image File Format: FUIF: Why Do We Need a New Image Format

In my last post, I introduced FUIF, a new, free, and universal image format I’ve created. In this post and other follow-up pieces, I will explain the why, what, and how of FUIF.

Even though JPEG is still the most widely-used image file format on the web, it has limitations, especially the subset of the format that has been implemented in browsers and that has, therefore, become the de facto standard. Because JPEG has a relatively verbose header, it cannot be used (at least not as is) for low-quality image placeholders (LQIP), for which you need a budget of a few hundred bytes. JPEG cannot encode alpha channels (transparency); it is restricted to 8 bits per channel; and its entropy coding is no longer state of the art. Also, JPEG is not fully “responsive by design.” There is no easy way to find a file’s truncation offsets and it is limited to a 1:8 downscale (the DC coefficients). If you want to use the same file for an 8K UHD display (7,680 pixels wide) and for a smart watch (320 pixels wide), 1:8 is not enough. And finally, JPEG does not work well with nonphotographic images and cannot do fully lossless compression.

Read more
 New Image File Format: FUIF:Lossy, Lossless, and Free

I've been working to create a new image format, which I'm calling FUIF, or Free Universal Image Format. That’s a rather pretentious name, I know. But I couldn’t call it the Free Lossy Image Format (FLIF) because that acronym is not available any more (see below) and FUIF can do lossless, too, so it wouldn’t be accurate either.

Read more
Optimizing Video Streaming and Delivery: Q&A with Doug Sillars

Doug Sillars, a digital nomad and a freelance mobile-performance expert, answers questions about video streaming and delivery, website optimization, and more.

Doug Sillars, a freelance mobile-performance expert and developer advocate, is a Google Developer Expert and the author of O’Reilly’s High Performance Android Apps. Given his extensive travels across the globe—from the UK to Siberia—with his wife, kids, and 11-year-old dog, Max, he has been referred to as a “digital nomad.” So far in 2018, Doug has spoken at more than 75 meetups and conferences!

Read more