Archive for the Tutorial
Change Default Thumbnail Size in WordPress 2.3
Here is a simple guide how to change the default size of the thumbnails that WordPress 2.3 creates when you upload an image.
It is actually quite easy to change – it just requires modification of one WordPress file.
From time to time I wonder just how big the image thumbnails are, and occasionally I even ponder how to go about changing that thumbnail size.
The size for the thumbnail creation in WordPress 2.3 could be changed in the /wp-admin/includes/image.php file.
Just open the file and search for:
$max_side = apply_filters(‘wp_thumbnail_max_side_length’,
128, $attachment_id, $file);
and change it to:
$max_side = apply_filters(‘wp_thumbnail_max_side_length’,
256, $attachment_id, $file);
That will double the thumbnail size like mine
Well done and have a great day!
Installing Movable Type on Dreamhost
Movable Type is a popular Perl-based content management system for Weblogs. Recent versions of the software have included support for PHP-based dynamic pages. DreamHost users may want to use MySQL as the backend database for their Movable Type content.
Since Movable Type Goes Open Source, I give a try to use this blog platform. First, I try install it on Dreamhost since I use this hosting for my several blogs
The following instructions are for installing Movable Type 4 on a website hosted by DreamHost. I created the instructions from notes I took during what turned out to be a smooth, problem free install.
If you have a suggestion for improving the notes, please contact me: me[at]supriyadisw[dot]net
Setup MySQL Database
In your Dreamhost Panel, go to Goodies>MySQL and create a new database and hostname (alternatively, if you already have a hostname setup, you can use that one).
Database Name: mtdb
Hostname: mysql.yourdomain.com
First User: mtdbuser
Password: mtdbpassword (keep this safe)
Click “Add new database now!“.
It”ll take a few minutes for this database to become active unless you had to create a new hostname (this could take as long …