iPhone Image Size Mystery

In my last post about attending a concert, I made a small remark about the surprisingly small image size of files uploaded from my iPhone via the WordPress plugin.  After a little more sleuthing, I’ve discovered the following:

  1. Images uploaded via the WordPress plugin are automatically resized to 640×480
  2. Images sent via the mail application are automatically resized to 800×600
  3. Images downloaded via USB link from the iPhone are copied at 1600×1200

As far as I can tell, the only way to obtain full-quality images from your iPhone is by connecting it directly to a computer.  To me, this is quite bothersome as I rarely (once per week?) sync my iPhone.  I’d much rather have the ability to send my images via email or just upload them directly to my website.  I can understand the reasoning behind the resizing, but it would be nice if there was a “upload hi-res” option or something.


WordPress, IIS, and ISAPI Rewrite

One cheap jerseys of cheap mlb jerseys the cheap jerseys servers How that 9 I Chicago administer Changing is a traditional Windows Server 2003 box (ASP.NET, SQL Server, etc.). Recently, we decided to add a quasi-internal, CMS-like website to manage and track software projects. Since I’m a big fan of WordPress, I decided to attempt an install on IIS. Unfortunately, IIS doesn’t support mod_rewrite and thus pretty URLs. Luckily, following the steps below will fix that problem.

  • Install ISAPI Rewrite (free version available) and install it on your server
  • Modify WordPress’ permalink settings to fit your desired structure.
  • Have WordPress create an .htaccess file for you.
  • Copy WordPress’ .htaccess directive starting at the “RewriteBase” directive into ISAPI Rewrite’s .htaccess file
  • Modify the wp-settings.php file adding the following code somewhere around line 58 (before the preexisting IF statement):
    • if (isset($_SERVER[‘HTTP_X_REWRITE_URL’])) {
    • }

And voila!, you have pretty URLs with IIS.