• sonofadoc

    (@sonofadoc)


    I have WordPress installed locally on Apache server. A problem has developed concerning image sizes when inserting media into a page via the “Add Media” button from “Edit Page.” I used to have three “size” options (thumbnail – medium – large)in the “Attachment Display Settings” when inserting an image. Now there is only one option – “Full Size – 1042×344” which is the actual size of the image.

    During investigation in trying to find the problem I did see in the “Uploads” folder in “wp-content” folder there is only one size of each image where there should be three sizes – thumbnail – medium – large. I understand when an image is uploaded WP converts and re-sizes the image into three copies of those three sizes.

    I believe the problem began when I updated to WP 3.8.1 although I’m not positive about that. I re-updated to make sure it was set correctly. The “Media Settings” are set correctly and the crop thumbnail set to “Crop thumbnail to exact dimensions” check box checked.

    I have a copy of WP on my Web Hosting server and the “Add Media” function works correctly with the three image size options.

    I’d like to avoid re-installing a new copy of WP as to not lose my work. Does anyone have an idea what may be happening or suggestions where I could look to try get this module working properly again?

    Thanks for your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • honinbo

    (@honinbo)

    Same problem on my website.

    vrazer

    (@vrazer)

    Just for context, did you switch the theme on your website any time around the time that this problem started occurring? Or was the only change that you pulled a copy of the site down to your local computer?

    Thread Starter sonofadoc

    (@sonofadoc)

    Is your Web site on your local server or a hosting service? I ask in order to try and narrow my field of search for a solution because A possibility might be a need to upgrade the version of PHP or tweak something in the php.ini file.

    honinbo

    (@honinbo)

    On company’s hosting. It’s mean I can modify php.ini. Please recommend. Many thanks.

    vrazer

    (@vrazer)

    Often the image size options are related to changes to code in your theme (e.g. the functions.php file).

    For example, I found this blog post that goes into detail about using the add_image_size function in WordPress to support additional formats.
    https://pippinsplugins.com/add-custom-image-sizes-to-media-uploader/

    If you’re familiar with PHP code, the WordPress codex also explains how to use this function.
    https://codex.www.ads-software.com/Function_Reference/add_image_size

    Do you know if you or anyone else working with your blog would have made changes to the theme recently?

    Thread Starter sonofadoc

    (@sonofadoc)

    Thanks vrazer, that’s a good possibility in my case as I’m working in a child theme I created. Thanks for the suggestion and the links. I’ll check out the links to see if there’s a solution for me there. I’ll let you know what I find. It may be awhile as I’m in the midst of trying to bend my brain around some PHP dev. I thought they said it was going to be so easy!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Inserting Media – Size Options’ is closed to new replies.