<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Through The Eyes Of A Dreamer &#187; Design</title>
	<atom:link href="http://heidibrebels.be/blog/archives/category/design/feed" rel="self" type="application/rss+xml" />
	<link>http://heidibrebels.be</link>
	<description>home of heidi brebels</description>
	<lastBuildDate>Thu, 10 May 2012 08:25:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Resizing Lightbox images</title>
		<link>http://heidibrebels.be/blog/archives/2011/resizing-lightbox-images</link>
		<comments>http://heidibrebels.be/blog/archives/2011/resizing-lightbox-images#comments</comments>
		<pubDate>Sun, 13 Feb 2011 17:30:35 +0000</pubDate>
		<dc:creator>heidi</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Resize]]></category>

		<guid isPermaLink="false">http://www.heidibrebels.be/?p=593</guid>
		<description><![CDATA[I'm using Lightbox2 in my newest project to show images. The images, though, are way too big to show in their original size. I was surprised that I couldn't find a property or something in the code to resize the images. After some researching on Google and figuring out a resize calculation, I made the following adjustments to the code to resize my images without having to resize each one of them before uploading.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using <a title="Lightbox" href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">Lightbox2</a> in my newest project to show images. The images, though, are way too big to show in their original size. I was surprised that I couldn&#8217;t find a property or something in the code to resize the images. After some researching on Google and figuring out a resize calculation, I made the following adjustments to the code to resize my images without having to resize each one of them before uploading:</p>
<p><strong><span style="color: #c7ca86;">Lightbox.css</span></strong></p>
<p>Change:<br />
#lightbox img{ width: auto; height: auto;}</p>
<p>To:<br />
#lightbox img{ max-width: 600px; }</p>
<p><strong><span style="color: #c7ca86;">Lightbox.js</span></strong></p>
<p>Change:<br />
imgPreloader.onload = (function(){<br />
this.lightboxImage.src = this.imageArray[this.activeImage][0];<br />
this.resizeImageContainer(<strong><span style="color: #c7ca86;">imgPreloader.width, imgPreloader.height</span></strong>);<br />
}).bind(this);<br />
imgPreloader.src = this.imageArray[this.activeImage][0];<br />
},</p>
<p>To:<br />
imgPreloader.onload = (function(){<br />
this.lightboxImage.src = this.imageArray[this.activeImage][0];<br />
this.resizeImageContainer(<strong><span style="color: #c7ca86;">600, imgPreloader.height / (imgPreloader.width/600)</span></strong>);<br />
}).bind(this);<br />
imgPreloader.src = this.imageArray[this.activeImage][0];<br />
},</p>
<p>I choose to always show the images with a width of 600px. So, if you want a different width, then change the 600 to the number you choose. You can also go with a height in stead of a width, but then you have to change the calculation formula a bit and use the max-height property in the CSS file.</p>
]]></content:encoded>
			<wfw:commentRss>http://heidibrebels.be/blog/archives/2011/resizing-lightbox-images/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Vectorize reality</title>
		<link>http://heidibrebels.be/blog/archives/2006/vectorize-reality</link>
		<comments>http://heidibrebels.be/blog/archives/2006/vectorize-reality#comments</comments>
		<pubDate>Wed, 09 Aug 2006 18:40:54 +0000</pubDate>
		<dc:creator>heidi</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://www.heidibrebels.be/blog/archives/2006/vectorize-reality/</guid>
		<description><![CDATA[Who wouldn&#8217;t love to create their own personal reality &#8230; imagine it, mold it, shape it, &#8230; Well, these vector artists did an amazing job at it using gradient meshes. Make no mistake about it, these aren&#8217;t photographs. This vectorized reality was created with nothing but Adobe Illustrator &#8230; The artists: Wayne Forrest Halim Ghodbane [...]]]></description>
			<content:encoded><![CDATA[<p>Who wouldn&#8217;t love to create their own personal reality &#8230; imagine it, mold it, shape it, &#8230;<br />
Well, these vector artists did an amazing job at it using gradient meshes. Make no mistake about it, these aren&#8217;t photographs. This vectorized reality was created with nothing but Adobe Illustrator &#8230;</p>
<p>The artists:<br />
<a title="Wayne Forrest Gallery" href="http://www.wizard2.com/" target="_blank">Wayne Forrest</a><br />
 Halim Ghodbane<br />
<a title="Highside" href="http://homepage3.nifty.com/highside/" target="_blank"> Highside</a><br />
<a title="I-evermind" href="http://i-evermind.deviantart.com/" target="_blank"> Ussa Methawittayakul</a><br />
<a title="Venus @ support" href="http://www.bekkoame.ne.jp/~yukio-m/index_e.html" target="_blank"> Yukio Miyamoto</a><br />
 Alexandre Simionescu</p>
<p>And just to give you a quick preview of Ussa&#8217;s work:<br />
<a title="I-evermind Angel in progress" href="http://www.deviantart.com/deviation/26905706/" target="_blank">Angel in progress<br />
</a><a title="I-evermind Angel finished" href="http://www.deviantart.com/view/26906033/" target="_blank">Angel outlined<br />
</a><a title="I-evermind Angel finished" href="http://www.deviantart.com/view/26828026/" target="_blank"> Angel finished</a></p>
<p>Hope you enjoy these as much as I do <img src='http://heidibrebels.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://heidibrebels.be/blog/archives/2006/vectorize-reality/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

