Forums

[resolved] Attachment thumbnail option not showing in Admin (6 posts)

  1. richarduk
    Member
    Posted 1 year ago #

    Anyone have this problem?

    I only have the options of full-size or title for my image when trying to insert it into a post - no thumbnail option.

    It's a decent sized gif.

  2. Otto42
    Moderator
    Posted 1 year ago #

    What's the resolution of the image?

    Exceedingly large images do not get thumbnails generated for them. PHP memory requirements go up rapidly when trying to do that, so WordPress doesn't try with anything larger than 3 megapixels. That can be adjusted via plugins and such.

  3. jeremyclark13
    Moderator
    Posted 1 year ago #

    Also if your php doesn't have GD support compiled then it won't generate a thumbnail either for any image. So does it work for some or none at all.

  4. richarduk
    Member
    Posted 1 year ago #

    Hmm.

    It's not excessively large, but it's for a client on a Windows Server so that may be something to do with it?

  5. Otto42
    Moderator
    Posted 1 year ago #

    Possibly. If that Windows version of PHP doesn't have gd and such installed, then it won't work. I don't think that it is usually enabled by default on Windows installs.

    Edit their PHP.INI file and find this line:
    #extension=php_gd2.dll

    That hash mark in front disables the extension. Remove the hash mark like so:
    extension=php_gd2.dll

    You may want to enable the php_mbstring.dll and php_exif.dll DLL's while you're at it.

    Then restart the web server.

  6. richarduk
    Member
    Posted 1 year ago #

    Thanks Otto!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags