WordPress.org

Ready to get started?Download WordPress

Forums

Thumbnail Image option = Greyed out...2.7 wordpress (28 posts)

  1. jonmeadowbrook
    Member
    Posted 5 years ago #

    The thumbnail option is greyed out when I try and select to have my uploaded images cropped to my thumbnail preferences.

    Any ideas?

  2. scribu
    Member
    Posted 5 years ago #

    Probably your PHP server doesn't have the GD library installed.

  3. jonmeadowbrook
    Member
    Posted 5 years ago #

    is that something I can do?

  4. scribu
    Member
    Posted 5 years ago #

    You could ask your host to install GD or move to another host.

  5. jonmeadowbrook
    Member
    Posted 5 years ago #

    do I ask them to install it on their php server? And if I say GD they will know what I am talking about?

    Thanks so much. This does not appear to be a topic anyone else has any suggestions about.

  6. nicktripp
    Member
    Posted 5 years ago #

    I'm having this same issue. I can only select the full size option when attempting to add an image to a post. Thumbnail, Small, Medium, etc. are all grayed out.

    I have GD installed on my server. Didn't have a problem with this prior to 2.7.

  7. scribu
    Member
    Posted 5 years ago #

    do I ask them to install it on their php server? And if I say GD they will know what I am talking about?

    Yes, if they know how to run a PHP server, they will have heard about the GD lib.

  8. jonmeadowbrook
    Member
    Posted 5 years ago #

    NICK TRIPP!!! I am so glad someone else is having the same issue! Have you had any updates? I am about to check on the GD status on my host.

    Please keep this thread alive. And let me know if you solve the problem.

  9. jonmeadowbrook
    Member
    Posted 5 years ago #

    Scribu and nicktripp,

    my host DOES have GD lib installed on all of their servers.

    Do you have any other suggestions? I really miss the functionality.

    Thanks,

    Jon

  10. quichotte
    Member
    Posted 5 years ago #

    My host does have the DG Lib installed as well and I too have still got the same problem

  11. aajkaal
    Member
    Posted 5 years ago #

    On RedHat 4, installed php-gd-4.3.9-3.22.9 to resolve the issue. Recycle apache and test with new image or

    Use this test script:

    <?php

    header("Content-type: image/png");
    $im = @imagecreate(110, 20)
    or die("Cannot Initialize new GD image stream");
    $background_color = imagecolorallocate($im, 0, 0, 0);
    $text_color = imagecolorallocate($im, 233, 14, 91);
    imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
    imagepng($im);
    imagedestroy($im);

    ?>

  12. jeffinsf
    Member
    Posted 5 years ago #

    Problem definitely can exist with GD installed, php -m reporting it present, and server returning a generated image from a script like that just above.

    c.f., http://wordpress.org/support/topic/226550?replies=7#post-992291

  13. jeffinsf
    Member
    Posted 5 years ago #

    Follow-Up Summary

    Seems that, even with GD installed, images uploaded prior to the installation don't have alternate sizes "magically" created.

  14. hsd
    Member
    Posted 5 years ago #

    i'm running into the same problem, i have been able to track this down into the core code at:

    wp-includes/media.php-> image_downsize function which is returning false for all intermediate_sizes. This function is called by wp-admin/includes/media.php->image_size_input_fields function which checks if the indermediate size is set to true. ( $enabled = ( $downsize[3] || 'full' == $size ); )

    after which the following line executes:

    $html = "<div class='image-size-item'><input type='radio' ".( $enabled ? '' : "disabled='disabled'")."name='attachments[$post->ID][image-size]' id='{$css_id}' value='{$size}'".( $checked == $size ? " checked='checked'" : '') ." />

    since intermediate size is false, which is the third element in the array, enabled is set to false, which caused disabled to be echoed. i wondering if this is a wordpress bug with release 2.7.1 or caused by a plugin?

  15. sjogro
    Member
    Posted 5 years ago #

    same problem here, thank god there is a topic already. is this gonna be fixed in an update or should i be able to fix this now?
    i host my own server, with php, and i don't have a clue what GD is. hah!
    also, i tried switching off all plugins but that didn't change anything about the problem. please help!

  16. kierkefire
    Member
    Posted 4 years ago #

    Same problem here. Nothing is grayed out, but none of the buttons is selectable. This is really frustrating. Please find a solution quick WP.

  17. kierkefire
    Member
    Posted 4 years ago #

    My server has gd-2.0.28-5.4E btw and my host is mediatemple.

  18. RutgerK
    Member
    Posted 4 years ago #

    I have the same problem as sjogro.
    I have also my own webserver and no idea what GD is.
    This was the solution for me:
    a) First delete the picture.
    b) executed this from my webserver (logged in as root):
    # apt-get install php5-gd
    # /etc/init.d/apache2 restart
    c) Then I uploaded the picture again, and everything works fine now.

    [source: http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ ]

  19. kierkefire
    Member
    Posted 4 years ago #

    Reinstalled php5, deleted images, started over, still not fixed.

  20. kierkefire
    Member
    Posted 4 years ago #

    Anyone else using podpress? I deactivated it and got the buttons back. Although it still isn't working right.

  21. myotus
    Member
    Posted 4 years ago #

    Yep, I a am using Podpress. I run several WordPress sites and only one with Podpress. After activating GD all the sites EXCEPT the one running Podpress were able to create thumbnails. Looks like Podpress is at issue. However I have no idea why the image resizing does not work when Podpress is activated. Very problematic. ugh...

  22. knolly42
    Member
    Posted 4 years ago #

    Check the Pixel size of the images.

    I found that smaller images seem to work perfectly.

    Don't know if it helps and I've not established the parameters but I found that the images it would not re-size on our 2.7.1 MU sites were huge - 3000px x 2500 px.

  23. knolly42
    Member
    Posted 4 years ago #

    That was the only thing that cured it for us. Tried de-activating all the plugins to no avail. I only realised what the issue was when comparing 2 of our 2.7.1 MU installs. I found that one offered all the thumbnail options but the other refused. Only difference between the sites was image sizes. 150 x 150 originals seem to work OK.

  24. mirobarac
    Member
    Posted 4 years ago #

    Hi People,

    I solved my problem! This forum was a big help and I certainly appreciate the time you guys invested in it.
    After trying everything possible on my end (rolling back flash to v.9, trying different size images, different format images, images saved with different programs, installing and reinstalling plugins etc.), I gave up and told my server guy to recheck the PHP server setup, even though he was sure that GD is there and properly configured.

    This is his response after which everything started behaving like it should. I hope this helps:

    "Looking back through everything we had compiled support for jpeg... or so I thought we had... but it turns out you had to do a make clean or the configuration didn’t recognize the new options. Anyway, I ran a phpinfo() and it shows support for jpeg so I think we’re probably good but try it out and let me know."

  25. 5starunited
    Member
    Posted 4 years ago #

    Running into the same issues with uploading images and sizes on the wp media library. The sizes do match what I put in the media settings. Then when I go to a post to insert a image all the sizes are screwed and under sizes it only shows 3 of 4 available sizes. Thumbnail Medium and Full Size no large?

    I am running:
    WordPress 2.8.5.
    Server: Apache/1.3.37 (Unix)
    PHP: v5.2.3
    GD: bundled (2.0.34 compatible)

    I went through high and low and still having issues.
    I deactivated all plugins. Reactivated 1 by 1. - No luck
    I am not running podpress

    Please help this is extremely frustrating...

  26. shell_dweller
    Member
    Posted 4 years ago #

    This is a very weird and annoying problem. I got everything running smoothly on my Fedora desktop. However when I loaded WordPress on the production Ubuntu server (hardy) it crapped out. GD in installed and properly configured (with JPEG support and so on).

    I took a look at the code. This problem occurs because function wp_get_attachment_metadata() returns a hash without 'sizes' key. And that hash is returned by a call to apply_filters(). From there is gets a bit murky and I've already spend more time on this then I should have. It would be nice if someone from the development team would take it from there.

  27. carrierawks
    Member
    Posted 4 years ago #

    I am having the same problem. I can upload a picture, but there are no thumbnails or really any options for them. So I tried reinstalling and even did a little dance for my blog. (BTW I run like 10+ of these things or webmaster them...) anyway...

    PodPress = the devil in my case. Once I deleted the plugin on the one blog that stopped working it is now fine. I didn't use PodPress that much on the blog in question so it wasn't that bad of a thing for me to do.

  28. rsheyd
    Member
    Posted 4 years ago #

    podPress was the problem for me as well

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags