YUI Library Home

YUI Library Examples: ImageCropper Control (beta): Skinning the ImageCropper

ImageCropper Control (beta): Skinning the ImageCropper

ImageCropper skinning is done via CSS. The ImageCropper comes with a default skin, but you can extend or override this as needed.

Resize Utility's core CSS file

The ImageCropper's base class is a starting point for skinning the ImageCropper Control. Include this file and use the skin file as a reference for your new skin (you can view the full contents of the base class here).

Sam's skin CSS file

Once you have the base class in place, you can proceed to customize the look and feel of your Resize Utility by working with the skinnning file. Starting with the Sam Skin version below is generally the fastest approach, allowing you to customize just those parts of the skin that will make your implementation resonate with the overall design of your application.

Configuration for This Example

You can load the necessary JavaScript and CSS for this example from Yahoo's servers. Click here to load the YUI Dependency Configurator with all of this example's dependencies preconfigured.

Copyright © 2009 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings