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.

page load speed

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 eCommerce 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 eCommerce 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 :)
 
 


Further Reading on Image Optimization


Recent Blog Posts

Transitioning JPEG-Based to JPEG XL-Based Images for Web Platforms

When the JPEG codec was being developed in the late 1980s, no standardized, lossy image-compression formats existed. JPEG became ready at exactly the right time in 1992, when the World Wide Web and digital cameras were about to become a thing. The introduction of HTML’s <img> tag in 1995 ensured the recognition of JPEG as the web format—at least for photographs. During the 1990s, digital cameras replaced analog ones and, given the limited memory capacities of that era, JPEG became the standard format for photography, especially for consumer-grade cameras.

Read more

Amplify Your Jamstack With Video

By Alex Patterson
Amplify Your Jamstack With Cloudinary Video

As defined by Amazon Web Services (AWS), Amplify is a set of products and tools with which mobile and front-end web developers can build and deploy AWS-powered, secure, and scalable full-stack apps. Also, you can efficiently configure their back ends, connect them to your app with just a few lines of code, and deploy static web apps in only three steps. Historically, because of their performance issues, managing images and videos is a daunting challenge for developers. Even though you can easily load media to an S3 bucket with AWS Amplify, transforming, compressing, and responsively delivering them is labor intensive and time consuming.

Read more
Cloudinary Helps Move James Hardie’s Experience Online

While COVID has affected most businesses, it has been particularly hard on those that sell products for the physical ‘brick and mortar’ world. One company that literally fits that bill is our Australian customer James Hardie, the largest global manufacturer of fibre cement products used in both domestic and commercial construction. These are materials that its buyers ideally want to see up close, in detail. When customers have questions, they expect personal service.

Read more
How to Build an Enhanced Gravatar Service, Part 2

Part 1 of this post defines the capabilities of an enhanced Gravatar service, which I named Clavatar, and describes the following initial steps for building it:

This post, part 2 of the series, explains how to make Clavatar work like Gravatar and to develop Clavatar’s capabilities of enabling requests for various versions of the images related to user accounts.

Read more