Support » Plugin: WP Job Manager » Logo resize

  • Resolved Edvinas L

    (@edvinas-l)


    Hello,

    If truly I don’t know how to explain my problem, but let’s try.

    If anyone create a job listing and add a logo, system automatically resizes this logo and makes it very bad quality.

    I need that logo will be resized without any quality changes, just resize.

    For example:

    If i change logo pixels from : 200×100 to 100×50, quality doesn’t change. But if i change logo pixels from 200×100 to 66×66, quality will be poor.

    Thanks for support, if you don’t understand what I mean, I’ll add some photos with examples.

    https://wordpress.org/plugins/wp-job-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • WordPress automatically compresses images, which could relate to the issue you are describing. You can prevent WordPress from doing this by adding the following to your functions.php

    add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );

    Don’t forget that not reducing the image size can increase the time your site takes to load (and make your site slow).

    Although this solution would work, it would lead to the problem of increasing load times. Is there a better solution?

    A better solution, for me at least, was to add this line to my theme’s .css file (in this case, style.css):

    img.company_logo { height: auto !important; }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logo resize’ is closed to new replies.