add_image_size is scaling, even though crop is set to true

from your question i under that you want fixed size cropped images when you upload image, why don’t you use wp_get_image_editor. I used it in my project where i wanted cropped images of fixed size so i did this code. $path = $newPath[‘basedir’].’/newImgas/’; $cropfile = uniqid() . ‘.png’; $cropfilename = $path.$cropfile; $cropImage = home_url(). ‘/wp-content/uploads/newImgas/’.$cropfile; … Read more

Is is possible to crop an image after uploading

Untested, but I believe this should work: jQuery(document).ready(function (){ jQuery(“.select-image”).click(function() { var custom_uploader = wp.media({ title: ‘Selecteer een afbeelding’, button: { text: ‘Selecteer’ }, multiple: false }); custom_uploader.on(‘select’, function() { custom_uploader.Jcrop(); }); custom_uploader.open(); }); });

add_image_size() zoom-crop

Currently, WordPress core image handling/thumbnail creation does not perform zoom-crop. If you need an intermediate image size to be created explicitly, you will need to ensure that you upload an image with equal or larger dimensions as the intermediate image size.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)