RSS
 

Adjusting thumbnail size in WordPress 2.3 or above

14 Feb

I’ll keep this short and sweet. The default thumbnail size is 128×96 pixels. After google-ing for hours, I decided to try modify it myself. It’s pretty straightforward to get the work done actually.

Step 1: Search for the file wp-admin/includes/image.php

Step 2: If you want to have new thumbnail size of 400 width and 300 in height, replace the value 128 with 400 and 96 with 300 throughout the entire file!

Step3: Thats it!! Enjoy!

Note: You need to make sure width/height is equals to 4/3 or 1.33 (Example: 128/96 = 1.33, 400/300 = 1.33)

UPDATE: 30 MArch 08: You do need such trick for WordPress 2.5 as it provides such thumbnail resizing function in its admin panel.

Popularity: 1% [?]

Related posts:

  1. Blogspot to self-hosted WordPress migration
  2. .flv to .mpeg guide
  3. iTunes Duplicate file remover
  4. My first spaghetti cooking attempt
  5. WordPress stats missing

Related posts brought to you by Yet Another Related Posts Plugin.

 

Leave a Reply