Cloudinary Blog

Archive for 2016 - Page 3
Compress an Image Automatically Without Losing Quality

One of the most important things to know about compressing image files is that a smaller file size comes at the cost of a lower image quality. How much lower, and whether low enough to make a difference visually, depends on the image. Compression can be very effective at reducing the size of the image, and besides lowering the costs of storage space and bandwidth, a reduced image size goes a long way to retaining your users’ attention with faster, smaller downloads.

Read more
Top 7 jQuery Sliders and 3 Ways in Which to Create Your Own
Cloudinary offers a cloud-based solution to help developers manage and optimize rich media (images and videos). With images being ubiquitous in online content, image sliders, which rotate banners or enable browsing through multiple images with animation effects and CSS3 transitions at the top of a website’s homepage, are becoming popular.
 
In our opinion, jQuery is the hands-down, No. 1 choice for building sliders. This article describes 7 ready-made, high-quality, and user-friendly jQuery sliders, complete with excellent designs and features. Also included are four tutorials along with code samples to help you build your own jQuery slider.

Top 7 Ready-to-Use jQuery Sliders

ResponsiveSlides.js

This is a small jQuery plugin that creates a responsive slider with the elements inside a container. It works with numerous browsers, including Internet Explorer version 6 and up. In addition, it supports `max-width` in CSS for IE6 and other browsers that don't natively support `max-width`. You must run jQuery 1.6 and up to use this plugin. Also, keep in mind that all the images are of the same size.
 
Options: File links, markup, CSS, slideshow, customizable options.
License: Open Source (MIT)
 
 

BXSlider

This is a fully responsive, popular slider that is well supported on GitHub. The slides can contain images, video, or HTML with built-in support for touch and swipe. The file size is small and the theme, simple to implement. This slider, which uses CSS transitions for animation with native hardware acceleration, works well with Firefox, Chrome, Safari, iOS Android, and IE7+ browsers.
 
Options: Horizontal, vertical and fade modes, transition duration, margin between slides, starting slide, random start, slide selector, infinite loop, hiding control on end, captions, text ticker, adaptive height, animations as CSS or jQuery, preload images, swipe threshold, numbered pagination, full customization of slider controls, full callback API and public methods
License: Open Source (MIT)
 
 

Slick

This is a fully responsive, popular slider that scales with its container and that is well supported on GitHub. Even though Slick uses CSS3 when available, it’s fully functional without CSS3. Additionally, Slick is swipe enabled with support for desktop-mouse dragging and arrow-key navigation.
 
Options: Separate settings per breakpoint, single and multiple items, variable width, adaptive height, lazy loading, infinite looping, add, remove, filter and unfilter slides,
autoplay, dots, arrows, callbacks
License: Open Source
 
 

WooThemes FlexSlider 2

This is a fully responsive slider with intuitive markup and support by all major browsers. Its features include horizontal or vertical slider and fade animations, multiple sliders, callback API, support for hardware-accelerated touch-slide, and customizable navigation options. 
 
Options: Installation, file links, markup, animation type, easing, direction, looping, smooth height animation, slideshow and its speed and randomization, video, sliding with keyboard arrows or mousewheel, and a pause-play element
License: Open Source (MIT)
 
 

Swiper

A mobile touch slider with hardware-accelerated transitions, this one is intended for use in mobile websites, mobile apps, and mobile native or hybrid apps. Swiper works with iOS, Android, and Windows Phone 8.
 
Options: Initialization, hash navigation, parallax, lazy loading, emitter API and events, HTML layout, CSS styles and size, and support for CDN
License: Open Source (MIT)
 
Demos / Download / Documentation

Super Simple Slider

As its name implies, this slider is simple and small. It’s also browser friendly and responsive, with support for arrow keys, and works with all HTML content.
 
Options: Slideshow, order-slide display, transition, speed, show-hide navigation
License: Open Source (WTFPL)
 
 

Animate Slider

This is a slider plugin with specific animations for each of its elements. It offers predefined animation classes and adds them to each slider element, allowing addition of classes with delay for each of the animations. 
 
Options: Autoplay, time, animations, fade-bounce-rotate-enter left or right, delay of slide display 
License: Open Source (MIT)
 
 

3 Ways to Build Your Own Slider

We collected a few great write ups from across the web showing step by step how you can easily create your own slider.
 
 
 
 
 

 
 
 

Summary

We hope you enjoyed this compilation of different ways to build sliders on your site using jQuery. If you’re a user of jQuery and have additional image-related tasks on your website, or want some help preparing and optimizing the images for your slider, check out Cloudinary’s jQuery integration. We offer a very easy way to upload images, deliver them to users via CDN, and perform advanced image transformations on the fly with one line of code. If you want to try it out, sign up for our free plan
 
And of course, please let us know in the comments below if you’ve tried out any of the sliders of code samples above and have any thoughts, and if you can share additional jQuery-based slider solutions. 
Read more
How various image formats compress one-pixel images

A couple of months ago while taking a break from implementing cool new features like q_auto and g_auto, I was joking in our team chat about how well various image formats “compress” one-pixel images. In response, Orly — who runs the blog — asked me if I’d write a post about single-pixel images. I said: "Sure, why not. But it will be a very short blog post. After all, there’s not much you can say about a single pixel."

Read more
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 transformation and optimization capabilities, cloud storage, administration and super-fast CDN delivery. 
Read more

Optimizing web performance and your bottom line

By Robert Moseley
Optimize your website and app for maximum user engagement
Patience is not a virtue for website visitors and online shoppers. Every fraction of a second counts when it comes to keeping – or losing – a visitor to your website.  
 
Loading time is a major contributing factor to page abandonment, according to an infographic on the Kissmetrics blog using statistics from Akamai and Gomez. Because the average web visitor has no patience for a page that takes too long to load, abandonment increases as a percentage with every second of load time. Nearly 40 percent of users will abandon a page after 3 seconds, the blog noted. Mobile Internet users probably experience the most frustration with this issue –  73 percent noted that they’ve encountered a website that was too slow to load. 
Read more