lessons in wordpress

After running into some frustrations while developing Drew’s WordPress blog, I worked out a couple of customizations that may be helpful.

Changing the default size of “full-size” images

Drew wanted to upload several different image sizes to his site, but found that even when he selected Full Size in the flash image uploader, the image defaulted to a width of 500px. It took some digging but I found some solutions. It’s set up this way to keep people from uploading huge images breaking their page layout. This only works if you are using a theme similar to the default WordPress theme which has a main column width of 500px. I followed their advice and set a global max column width in the functions.php file in my themes directory, like this:

$GLOBALS['content_width'] = 961;

Flickr Badge with Lightbox

I also had a heck of a time figuring out how to add a Flickr “badge” to a page’s sidebar and have the images appear lightboxed on the same page when clicked instead of going to a Flickr page. I tried a few pre-built plugins for this but couldn’t get them to work.To get it working, I installed the flickr RSS plugin and the Lightbox 2 plugin.Then to get the flickrRSS plugin to use the lightbox I had to add the rel=lightbox attribute to the flickrRSS.php file in the plugins directory. On lines 106 – 109 it looks like this:

print $before_image . "< a href="$fullimgurl" title="$title" 
rel="lightbox">$title" . $after_image; } else {
# grab image direct from flickr
print $before_image . "< a href="$fullimgurl" title="$title"
rel="lightbox">$title" . $after_image;

efforts zine available

Efforts ZINE
My new zine is available for trade. Efforts (ftg004) is 11 pages long and contains 9 drawings with text. It is hand bound with hand drawn one of a kind covers. Available for trade only or in stores for $3. Contact heather at from the gut dot org for more information, a mailing address, etc. Copies are available through the void distro, and in portland at floating world comics and reading frenzy.

sasquatch

Halloween 2007
halloween costume 07, inspired by reka 06

a hand to you

hand to you

oceanside oregon

oceanside1.jpg


oceanside2.jpg


Some photos from my trip to the Oregon coast.

burning sky

at the end of a long amazing week
sunset

old friends

trees

warm

warm

drawing of a girl and her cat

Drawing of a girl and her cat

skate or die

Rollerskating
rollerskating to live organ music