Can't upload images with Magento 1.4 on Windows/IIS

Can't upload images with Magento 1.4 on Windows/IIS

October 4, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Can't upload images with Magento 1.4 on Windows/IIS

Troubleshooting Magento Image Upload Issues on Windows/IIS

If you’re facing image upload problems with Magento 1.4 running on Windows/IIS, you’ve come to the right place. We’ll explore some common issues and solutions in this guide.

Check Your Media Path Configuration

The first step is to ensure that your media path is correctly configured. Open your app/etc/local.xml file and locate the <media> node:

<media>
  <upload_dirs>
    <images>media/catalog/product</images>
    <documents>media/documents</documents>
    <images_compare>var/compare</images_compare>
    <catalog_images>media/catalog/category</catalog_images>
    <uploaded_files>media/uploaded</uploaded_files>
  </upload_dirs>
</media>

The media/catalog/product path is where Magento expects to store uploaded product images. Ensure this directory exists and is writable by the web server process.

Verify Directory Permissions

Next, let’s check if the target directories have the correct permissions:

  1. Open the File Explorer.
  2. Navigate to your project’s root media folder.
  3. Right-click on each subfolder (e.g., catalog/product) and select “Properties.”
  4. Click on the “Security” tab.
  5. Ensure that your web server user has at least read/write permissions.

If the permissions are incorrect, you can change them by clicking “Edit…” and granting the necessary access.

Update PHP Settings for Image Uploads

Magento 1.4 might require some specific PHP settings to handle image uploads correctly:

Post Max Size

Ensure that your post_max_size is set appropriately in your PHP configuration file (usually located at C:\Windows\PHP\vX.X.X\php.ini). This setting determines the maximum size of data that PHP will accept.

post_max_size = 8M  # Adjust as needed

Upload Max Filesize

Similarly, check if the upload_max_filesize is set to an appropriate value:

upload_max_filesize = 2M  # Adjust as needed

Remember to restart your IIS server after making any PHP changes.

Enable Mod Rewrite for Magento File Permissions

Magento relies on mod_rewrite to handle file permissions correctly. If you haven’t enabled it yet, follow these steps:

  1. Open the IIS Manager.
  2. Select your website in the left-hand navigation pane.
  3. Click on “Handler Mappings” under the “MIME Types” section.
  4. Find the entry for “.htaccess” and double-click to open its properties.
  5. In the “Request restrict to” field, select “All verbs.”
  6. Set “Executable” to “True.”
  7. Click “Apply” and then “OK.”

Conclusion: Resolving Magento Image Upload Issues

Remember, Magento 1.4 is notoriously picky about its environment configuration. Ensuring the right permissions, PHP settings, and mod_rewrite support will usually resolve most image upload issues.

If you’re still facing problems or need further assistance with your e-commerce development needs, feel free to reach out to us at Laravel Company. Our team of experts is always ready to help you overcome Magento challenges and build powerful online stores.

Magento 1 Catalog Database Security

Our network