Gnuyen.org Upgrades

In order to avoid doing more important work, I’ve been doing a lot of work on gnuyen.org. I decided to put my work integrating Gallery 2 into wordpress with a wordpress plugin because development on G2 is going by way too fast. I’ll have to wait for it to stablize. Changelog:

  • Created the about page
  • Resized the max images to 640×480 in the photo albums
  • Reorganized all the photos and cut out uninteresting ones. Rather than dumping straight from my camera, I’m going to be more selective
  • Created link back to main page from the photo albums
  • Added RSS based image feed to the sidebar
  • Added favicon
  • Added avatar to the Pages list to draw attention to that area
  • Changed Pages list to sort by order number (why this isn’t the default I have no idea)
  • Did some .htaccess Fu to make home and albums link work
  • Various CSS changes

To Do:

  • Clone agblog‘s cool special link category
  • Create FAQ
  • Install some sort of dictionary based phrase autolinker
  • Create custom RSS feed from albums based on the statistics page
  • Use RSS syndication plugin to create posts based on photo uploads

If you need to resize a bunch of images, use Imagemagick’s mogrify.

mogrify – resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert writes to a different image file.

Saved me tons of time, and I used it on almost every image on this website at one point or the other. To make thumbnails of bunch of box covers of varying width:height ratios have the same height of say 140px so they fit nicely in your about page just do:

mogrify -geometry x140 *.jpg

And you get:
South ParkFamily GuyBattlestar GalaticaFight ClubGodfatherAs Good as it Gets

To split up articles in wordpress, you don’t use the excerpt function in advanced post. You insert <– more –> in the post some place and it splits it (there is a button for it). I had to go around begging on irc to gain this tidbit of information.

6 Responses to “Gnuyen.org Upgrades”

  1. Maro Says:

    I like your new design. Check out http://www.ftrain.com for a real cool blog/homepage.

    Annoyance: Why do you want me to enter my email/website…

  2. Maro Says:

    This is what I don’t like about the blog/forum duality. Suppose we get a conversation going here, it should also be automagically appear on the forum.

  3. Maro Says:

    It seems this is broken.

  4. Maro Says:

    Hmmm. What the hell.

  5. Maro Says:

    It is broken! After I submit, it reloads the page, but the new reply doesn’t show up – I have to hit refresh.

  6. gnuyen Says:

    I recall that happening on a few other wordpress sites, I’ll look into it. Thanks for the comments!

Leave a Reply