Viewing 7 reply threads
You must be logged in to reply to this topic.
Good evening, I have a problem with the image of the “team member” I uploaded the image in one dimension, but when I publish the page another one is loaded in a different dimension and cut out (400×270), while for all the other members of the team this does not happen, for what reason?
Page about us: https://www.newgiocogroup.com/about-us/
Wrong member page: https://www.newgiocogroup.com/staff_trusted/alessandro-alpi/
Hello,
The theme has a script that creates different sizes of imported images. So that the right thumbnail is used in a precise screen (small for mobile, large for desktop). This is a normal procedure for every WordPress theme.
However, can you please post some wp credentials in a private reply? So I can check the configuration of the staff.
Best regards!
Hello,
Please go to file functions.php and find this function:
/* -------------------- Add Various Image Sizes ------------------------ */
function codeless_images_sizes(){
Here find this line: add_image_size( 'staff', 400, 270, true );
Change the width/height to your wish and save changes.
Then go to Dashboard > Tools > Regenerate Thumbnails, and regenerate the thumbnails again. so the images will get cropped again to the new dimensions. This will unify all images of the staff.
Let us know.
Best regards!
I solved as you told me, but I was wondering, isn’t there the possibility to always insert the loaded image without proceeding to the Crop? but original?
Hello,
Yes, you can. Just comment out the line responsible for staff.
Like this: //add_image_size( 'staff', 400, 270, true );
After this, regenerate thumbnails again and proceed in uploading the images for staff again. They will not be cropped anymore.
Best regards!
You must be logged in to reply to this topic.