• Hi! Maybe someone has faced the same issue. I am a newbie in WP, and probably don’t understand some simple things, so here comes the question. Why is it not possible to insert a cropped image to the page from the media library? Here is the story:

    1. I uploaded an image (1024*599 px) to the library.
    2. I cropped it (896*599 px) using the WP edit menu for images.
    3. I saved it.
    4. Now when I am trying to insert a cropped version from the library (pic.1 896*599 px), it still inserts an old uncropped version! (pic.2 1024*599 px)

    How is it possible? I don’t see any original versions of the file in the library, I have even deleted it from the host server via FTP, but it still inserts the original image only!

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve done this before and fiddled with it for hours only to realize that I had not actually clicked save in the WP Edit image screen. There is a small save button under the image you need to click that before clicking the blue update button on the right.

    Hope this helps. Once you find a solution please tag the thread as resolved.

    Thanks, but I did this – unfortunately the reason of this bug is something different…

    It possible but might require some work. In the functions.php you can add code that will create different size images when you upload an image. You would have to create a function and add the wordpress function add_image_size(). You would have to add an action hook to call the function you just added. So it would look like this

    function mythememods(){
    add_immage_size("newsizeimage",400,200,true);
    
    } 
    
    add_action('after_setup_theme','mythememods');

    after you create the new size you would have to run some kind of plugin to resize all the mage that have already been added. Most people use Regenerate Thumbnail plugin.

    After that you would have to modify the parts of theme you want to change the image size.

    It can be done but not easily. It would take some coding to change everything.

    @mrtom414 thanks, probably it will work, I just feel myself not so confident with WP, I have start just few days ago… I simply cropped this file manually outside of WP and uploaded the cropped version, and deleted the original one. Let’s say it solved the problem.

    the size of the image is determined by the theme. The developer could have used different methods for getting the image. He could be using the featured image or he could be using ACF to create fields for different images. The size of the image was determined by the theme developer. To change things, you would have to create a child theme and modify the settings.

    • This reply was modified 5 years, 10 months ago by mrtom414.

    If you are new to wordpress, You might want to find someone to help you with this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cropped Image Insert’ is closed to new replies.