Title: Automatically resize logo images
Last modified: August 24, 2016

---

# Automatically resize logo images

 *  Resolved [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/)
 * Hi,
 * Is it possible to resize automatically the comapny logo to the right size in 
   order to avoid useless big files which slow down the page laoding ?
 * Example: if the logo images are 60px *60px
 * 1. A company post a job and upload a 700px * 500px image
    2. A WP plugin (or 
   whathever) resize the image to the 60px *60px size.
 * I hope it will help a lot of people to optimise the load of a lot of job boards!
   🙂
 * Thanks
 * [https://wordpress.org/plugins/wp-job-manager/](https://wordpress.org/plugins/wp-job-manager/)

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

 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6169975)
 * It will resize images when required 🙂 See [https://github.com/mikejolley/WP-Job-Manager/blob/master/wp-job-manager-template.php#L349](https://github.com/mikejolley/WP-Job-Manager/blob/master/wp-job-manager-template.php#L349)
 *  Thread Starter [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6169979)
 * This has been recently changed ?
 * Because I’m almost sure on my site (can’t share a link for now) the full image
   is loaded and then the image is only resized for the display.
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6169980)
 * If its called at a smaller size, not full, it will generate a thumbnail and use
   that. Uses the WP image resize system.
 *  Thread Starter [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6169986)
 * Ok.
 * I see this has been released on 21 Apr, and I’ve isntalle wp manager in April
   so maybe this is why my blog doesn’t act like this.
 * edit: i’m using the version 1.22.1
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6169990)
 * Either that, or its loading ‘full’ size on purpose.
 *  Thread Starter [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170288)
 * Hi again Mike,
 * Reminder: I’m using:
    - WP 4.1.5
    - Job manager: 1.22.1
    - Theme: Job Finder
 * I’ve tried to update Job manager but the version 1.22.3 breaks a lot of things.
 * I’ve updated manually the wp-job-manager-template.php file by[ this one](https://github.com/mikejolley/WP-Job-Manager/blob/master/wp-job-manager-template.php#L349)
   but nothing has changed.
 * Do you think it’s because I’ve changed something in the css in order to have 
   a 16:9 ratio in the company logo ?:
 *     ```
       ul.job_listings li .company_logo {
       	width: 80px !important;
       	height: 45px !important;
       	border: 1px solid #E6E6F0;
       }
       ```
   
 * Thanks
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170291)
 * CSS won’t affect this. Just noticed we do use full though… can be changed on 
   this line:
 * [https://github.com/mikejolley/WP-Job-Manager/blob/7adc02996b63bddb2f1f29ec743ce7a7e19bc35d/templates/content-job_listing.php#L3](https://github.com/mikejolley/WP-Job-Manager/blob/7adc02996b63bddb2f1f29ec743ce7a7e19bc35d/templates/content-job_listing.php#L3)
 *  Thread Starter [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170292)
 * I’m sorry but I’m not sure to understand what need to be changed on line 3! :
   s
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170293)
 *     ```
       <?php the_company_logo(); ?>
       ```
   
 * To:
 *     ```
       <?php the_company_logo( 'thumbnail' ); ?>
       ```
   
 * for example.
 *  Thread Starter [envazen](https://wordpress.org/support/users/envazen/)
 * (@envazen)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170294)
 * Nice! It works perfectly. The layout is much better now on Firefox and IE because
   these browsers don’t smooth the pictures like chrome.
 * Thanks again Mike for your amazing support !

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

The topic ‘Automatically resize logo images’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [image](https://wordpress.org/support/topic-tag/image/)
 * [load](https://wordpress.org/support/topic-tag/load/)
 * [optimisation](https://wordpress.org/support/topic-tag/optimisation/)
 * [resize](https://wordpress.org/support/topic-tag/resize/)

 * 10 replies
 * 2 participants
 * Last reply from: [envazen](https://wordpress.org/support/users/envazen/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/automatically-resize-icon-image/#post-6170294)
 * Status: resolved