E-book details

Instant Galleria How-to. Recipes to make you an expert user of the Galleria JavaScript framework

Instant Galleria How-to. Recipes to make you an expert user of the Galleria JavaScript framework

Nathan Van Gheem

Ebook
Providing beautiful and usable galleries is an important aspect of the Web today. A gallery solution needs to integrate into your web application easily and seamlessly. Users expect mobile sites that function on par with their desktop counterparts—especially for image galleries. In order to accomplish these tasks, you need to use a JavaScript (not Flash) that is extensible and scales to mobile devices.

Instant Galleria How-to will teach you how to use Galleria in advanced scenarios to become an expert and integrate Galleria into your next project using themes and plugins to accomplish any task.

This book teaches you how to use and create themes and plugins,  using the Galleria API through a series of recipes that include a plethora of code examples. You'll be taken through detailed instructions on the usage of JavaScript to customize Galleria.

You will create your own theme (mobile friendly), plugin, and learn all the configuration options of Galleria. You'll learn how to customize Galleria by using its extensive API, optimize Galleria, integrate with Google Analytics, create tests for your customization, and integrate into your web application.

You'll become an expert user of the Galleria framework, which will enable you to deploy beautiful, mobile friendly galleries for your next web project.
  • Instant Galleria How-to
    • Instant Galleria How-to
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Galleria How-to
      • Setting up the development environment (Simple)
        • Getting ready
        • How to do it...
          • Galleria components
          • If you dont have a text editor...
          • Extracting the source code
      • Your first gallery (Simple)
        • Getting ready
        • How to do it...
        • How it works...
          • Defining a height
          • Data attributes
      • Configuring Galleria (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Useful configuration options
          • Complete listing of options
      • Installing themes (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Downloading Galleria themes
      • Creating your own theme (Medium)
        • Getting ready
        • How to do it...
        • How it works...
          • For the sake of brevity
      • Creating mobile friendly themes (Simple)
        • Getting ready
        • How to do it...
        • How it works...
          • Media queries
          • Testing for mobile
          • Integrating with existing sites
      • Installing plugins (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using the Flickr plugin (Medium)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Flickr plugin API
          • Using the Flickr REST API
      • Creating a plugin (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
          • What else can we do?
      • Using the API (Medium)
        • Getting ready
        • How to do it...
        • There's more...
          • Complete API reference
          • Another way to bind events
      • Alternative image data structures (Simple)
        • Getting ready
          • Specifying extra parameters via IMG tag
          • Alternative media
          • Using JSON
          • HTML structure parsing customization
        • How it works...
      • Optimizing Galleria (Simple)
        • Getting ready
          • Image sizes
          • Providing thumbnails
          • Optimizing resources
          • Galleria size
          • Web server
          • Resource minification
      • Adding images dynamically (Medium)
        • Getting ready
        • How to do it...
        • How it works...
          • Following up with server-side techniques
      • Triggering Galleria (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
      • Recording image views with Google Analytics (Medium)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Handling errors gracefully (Medium)
        • Getting ready
        • How to do it...
        • How it works...
      • Creating tests for customizations (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
          • Read more about the selenium testing framework
      • Web application integration (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
          • Automatic thumbnail generation
          • Existing application Galleria integrations
  • Title: Instant Galleria How-to. Recipes to make you an expert user of the Galleria JavaScript framework
  • Author: Nathan Van Gheem
  • Original title: Instant Galleria How-to. Recipes to make you an expert user of the Galleria JavaScript framework
  • ISBN: 9781849696616, 9781849696616
  • Date of issue: 2013-02-15
  • Format: Ebook
  • Item ID: e_2wu9
  • Publisher: Packt Publishing