codrops/Elastislide — pull request #6 by mikekloeden (2012-11-28 15:50:18+00:00)
Title: Added an option to optionally specify a selector to read the image sizes from

Added an `imgSizeItemSelector` option to optionally specify a selector rather than using the `img` element to read the image sizes.

### Example
This would use the first matching element with class `fancy-item` within the list to fetch the image sizes from:
```js
$('#carousel').elastislide({
imgSizeItemSelector: '.fancy-item'
});
```
```html

Any content

…

```