• Resolved Nick Murray

    (@nickfmc)


    it there no way to have the jigoshop Catalog images to crop in this fashion add_image_size( ‘crop-jigo’, 270, 300, true ); I require a TRUE crop, the way it is setup in the option this is not possible which makes no sense to me and makes designers require their customers always upload the same ratio image or they will get different sized images or skewed ones. Why not allow a true crop???

    https://wordpress.org/plugins/jigoshop/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @nickfmc

    Please enlighten me where did you find not valid cropping in Jigoshop? All I can see is proper use of cropping as long as you select “Crop X images” in Jigoshop => Settings. Please see jigoshop_set_image_sizes() function.

    Thread Starter Nick Murray

    (@nickfmc)

    No, because lets say your image size is set to 100px x 200px for the catalog image, and you upload an image that is 250px x 200px for your featured image.

    – leaving “crop catalog image” unchecked is going to scale it and cause distortion

    – checking off “crop catalog image” is going to crop it without a TRUE crop as in it will NOT make the image 100px x 200px it will make it fit within 100px x 200px so it will crop my 250px x 200px image to be 100px x 74px and then stretch it to fit 100px x 200px still causing distortion.

    – A true crop would chop the image (loosing some of the image) to make it exactly the size you request.

    I added a hook to make this work for me, but I have seen MANY user with this issue not know how to explain it.

    We are using internal WordPress function for this and always thought it’s well understood among WP users. To be honest how would you like the image to crop? Skipping some of the image from both sides? Or maybe only right side should be removed? It’s hard to say…

    P.S. As for distortion – it’s probably caused by our stylesheets which were fixed in just released Jigoshop 1.16.

    Thread Starter Nick Murray

    (@nickfmc)

    If it was just stylesheets causing the distortion I missed then that is good. I just though having end users required to upload their images in a correct ratio in order to avoid distortion is terrible UX for a store owner.

    For what you say it seems it was this issue 🙂

    Thank you very much for your thoughts to make Jigoshop better!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Can't create a true crop size’ is closed to new replies.