• Hi,
    I’ve just installed word press and I’m having issues uploading images.
    I get a 500 internal server error (using the non flash uploader) when I upload anything other than tiny images (largest I’ve uploaded is 545×363). The larger (failed) images appear in the library but no smaller version is available and I can’t embed them in posts…

    What I’d ideally like is to upload large photographs of any size and then have a smaller version created automatically (approx. 500×300) then when a reader click on that image a larger res version is presented (occupying most of the screen) as an overlay just like with the “Preview theme” feature. Does anyone know of a plugin that I can use to do this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Check with your hosts that the GD Library is installed on your server. WordPress normally produces a number of images of differing sizes from each upload by default.

    Thread Starter MrTree

    (@mrtree)

    Yeah I get the thumbnail etc with the smaller images…

    I’ll check about my hosts (I’m with 1and1 if anyone knows the answer already).

    -edit-
    Yes, I just took a look at phpinfo() and it is supported.

    1 & 1 is normally set up for WordPress although you might want to try adding AddType x-mapp-php5 .phpto the top of your WordPress .htaccess file if you have any problems downloading plugins & themes or updating WP at some point.

    Check your current theme’s functions.php file for something like:

    $GLOBALS['content_width'] = 500;

    Thread Starter MrTree

    (@mrtree)

    I tried using the default theme (twentyten I think) and that has the maximum as 640 which at first appeared correct but changing that value didn’t change anything when uploading a larger image…

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?

    – increasing the available memory?
    https://www.ads-software.com/support/topic/253495#post-1017842

    Thread Starter MrTree

    (@mrtree)

    I’ve re-installed wp from scratch and like I said it was a fresh installation anyhow, without any plugins or themes active.

    I’ll try to look into the available memory but we’re not talking about massive figures here, through trail and error I was able to determine that 700×466 works and 750×500 doesn’t (I’ve set $content_width to 800 in twentyten/functions.php).

    The error that’s being generated by wordpress is:
    “Are you sure you want to do this?”
    My browser is just displaying the generic 500 error tho.

    Thread Starter MrTree

    (@mrtree)

    According to phpinfo() the memory_limit=40
    I tried adding define(‘WP_MEMORY_LIMIT’, ’32M’); to wp-config.php but to no avail…

    Thread Starter MrTree

    (@mrtree)

    Hummm,
    I added:
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    to my .htaccess file and it seems to be working better now, I can upload the 750×500 image, but when I try to upload the full size image I get an out of memory error…
    Well that’s progress I guess, now to try some memory tweaks…

    Thread Starter MrTree

    (@mrtree)

    Ok, so the full size image is clearly not going to work with 40MB and I’m not sure I can increase the memory beyond this point by myself.

    Anyhow, the image scaled to 50% is too big anyhow so I think I’ll sick with this for now. Now to figure out how to make enlarged images show up as an overlay but I may create another thread on another day for that!

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Trouble with uploading images and popup plugin’ is closed to new replies.