Cropping Issue

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #149670
    Xpark Media
    Keymaster

    @jcharris,

    resize_dimensions function is to resize the watermark not the image. The images are resized they they are uploaded, this is normal behavior for WordPress.

    You can change this option in WordPress > Media menu. You can also modify the image created on every image by eiditing the thumbnail

     

    Screen Shot 2014-06-16 at 11.56.56 PM

    #149854
    jcharris
    Participant

    This is simply incorrect.

    1. I have examined the _resized images for various galleries and they all look fine.

    2. Have a look at image.php around line 232.

    if( $dims = $this->resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, true ) ) {

    When I change the last ( $crop ) parameter in resize_dimensions() from true to false, the Preview size image is no longer cropped from the center.. not the watermark.. the entire image.

    Put another way: the standard code, which is set to true, crops from the center to a square, cutting off the top and bottom of tall images.

    Maybe this is tied to my other issue with watermarks, but this is not about watermarks.

    #152723
    Xpark Media
    Keymaster

    @jcharris,

    the issue may be that the scripts runs out of memory with it tries to add the watermark to the images. It needs to read both images and process them both at once.

    How big are you images?

    #168998
    jcharris
    Participant

    Images (byte) sizes range from 100k to 2mb.

    But editing every image is simply not practical. We have -thousands-.

    Again, if you could just make this an option it would be -very- helpful for us (and probably others, I’m sure.)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.