Skip to content
Browse files

Change Gavin and Stanley to external images. Remove unnecessary image…

…s. Use img.closePixelate() method in example
  • Loading branch information...
1 parent f9b890e commit 4140c4ee34ce55b87d2847b0458ad05014cb72fd @desandro committed
View
18 examples.html
@@ -89,7 +89,7 @@
<article>
<figure>
- <img id="stanley" class="portrait" src="img/stanley.jpg" alt="$2 Portrait Project: Stanley by Troy Holden" />
+ <img id="stanley" class="portrait" src="http://farm5.static.flickr.com/4017/4528382432_454051eaaa_b.jpg" alt="$2 Portrait Project: Stanley by Troy Holden" />
<figcaption>Original photo: <a href="http://www.flickr.com/photos/troyholden/4528382432/"><em>$2 Portrait Project: Stanley</em> by Troy Holden</a></figcaption>
</figure>
<pre><code>{ resolution: 32 },
@@ -127,7 +127,7 @@
<article>
<figure>
<img id="wonder" class="portrait" src="img/wonder.jpg" alt="Wonder by Kyrill Poole" />
- <figcaption>Original photo: <a href=""><em>Wonder</em> by Kyrill Poole</a></figcaption>
+ <figcaption>Original photo: <em>Wonder</em> by <a href="http://www.flickr.com/photos/poolski/">Kyrill Poole</a></figcaption>
</figure>
<pre><code>{ shape: 'diamond', resolution: 24, size: 25 },
{ shape: 'diamond', resolution: 24, offset: 12 },
@@ -168,7 +168,7 @@
<article>
<figure>
- <img id="gavin" class="remote portrait" src="img/gavin.jpg" alt="Portrait Of A Mayor by Troy Holden" />
+ <img id="gavin" class="remote portrait" src="http://farm3.static.flickr.com/2754/4294580760_99624fea6f_b.jpg" alt="Portrait Of A Mayor by Troy Holden" />
<figcaption>Original photo: <a href="http://www.flickr.com/photos/troyholden/4294580760/"><em>Portrait Of A Mayor</em> by Troy Holden</a></figcaption>
</figure>
<pre><code>{ shape : 'square', resolution : 48 },
@@ -232,16 +232,6 @@
{ shape : 'square', resolution : 48 },
{ shape : 'diamond', resolution : 12, size: 8 },
{ shape : 'diamond', resolution : 12, size: 8, offset : 6 },
- ],
- 'london': [
- { shape: 'square', resolution: 32 },
- { shape: 'circle', resolution: 32, offset: 16 },
- { shape: 'circle', resolution: 32, offset: 0, alpha: 0.5 },
- { shape: 'circle', resolution: 16, size: 9, offset: 0, alpha: 0.5 }
- ],
- 'sv' : [
- { shape : 'circle', resolution : 24 },
- { shape : 'circle', resolution : 24, size: 9, offset: 12 }
]
};
@@ -251,7 +241,7 @@
var img = document.getElementById( key ),
options = pixelations[key];
if ( img ) {
- ClosePixelate.imageNode( img, options );
+ img.closePixelate( options )
}
}
};
View
BIN img/anita.jpg
Deleted file not rendered
View
BIN img/gavin.jpg
Deleted file not rendered
View
BIN img/giraffe.jpg
Deleted file not rendered
View
BIN img/stanley.jpg
Deleted file not rendered

0 comments on commit 4140c4e

Please sign in to comment.
Something went wrong with that request. Please try again.