Forums

Upload of non-resized images fails

  1. Hi there,

    I am using the latest App-version (2.9) on the latest iOS-version (4.3) running in an iPhone 4 in combination with a self hosted Wordpress-installation of the latest version (3.2.1).

    Image upload works quite will - for small images. When I set "Image Resize" to the value "Disable" in the app configuration or choose "Original" if set to "Ask Always" the upload of the image fails after reaching a progress value off 100%. Smaller images work quite well.

    So I assume that by blog is rejecting large image files. I already edited my htaccess file (for I have no access to the php configuration) as follows:

    # BEGIN WordPress
    php_value memory_limit 128M
    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value max_execution_time 480

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Is anything wrong with that file? Have I missed something else to enable large image uploads?

    Thanks in advance for helping,
    Markus :)

  2. @satheeshkme: And why on earth did you tell this here?!

    Could a moderator please remove the advertising posting of setheeshkme?

  3. It might help to check with your host to see if they have set a file upload limit that's out of your control.

  4. Hi mrroundhill,

    thanks for your reply (and removing the advert). Are there any ways to find that out myself? E.g. by means of a phpinfo() call?

    Uploading large images via the admin interface of the blog works flawlessly though. Shouldn't the server apply the same restrictions to the XML-RPC interface as it does to the wp-admin interface?

    Best regards,
    Markus :)

  5. I suggest you to take a look at the PHP log file and see what's happen when you upload an image. You can even ask to your hosting service provider if you can change the memory settings, maybe those changes are rejected and never used.

Topic Closed

This topic has been closed to new replies.


About this Topic