• Resolved hdapi

    (@hdapi)


    Hi,

    I do not know whether this is an issue of the plugin or of wordpress.

    I uploaded a job with a featured image, 1200×300 px.

    However, in the job post, the image dimension is specified as 1000x300px and the image URL is redirecting to an automatically generated thumbnal of 1000x300px size.

    This would be OK if the thumbnail were OK and not wrongly cropped. So the 1200×300 image is cropped 1000×300.

    If I make a normal post with the same featured image, it’s displayed correctly.

    Any idea?

    Thank you very much!
    Pietro

Viewing 1 replies (of 1 total)
  • Plugin Author BlueGlass

    (@blueglassinteractive)

    Hi @hdapi,

    The default size of the image that plugin sets is 1000x400px.

    You can override this from your theme’s functions.php file, paste this code there:

    add_filter('job-image-width', 'my_job_image_width', 1, 10);
    function my_job_image_width( $width ){
    	$width = 1200;
    	return $width;
    }
    
    add_filter('job-image-height', 'my_job_image_height', 1, 10);
    function my_job_image_height( $width ){
    	$width = 300;
    	return $width;
    }

    You will have to regenerate image thumbnails with some of the plugins out there, for the new size to appear on the page.

    Also you can set any values you like there.

    Best wishes

Viewing 1 replies (of 1 total)

The topic ‘Featured image cropped?’ is closed to new replies.