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
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.