• Resolved zezzweb

    (@zezzweb)


    Hi,

    1) The image link is not https. I’ve installed SSL on the website, but can’t get the the_company_logo to display secure url.

    It’s not a big issue, but I would like to fix it.

    2) The size of the image.

    In the template I’ve used <?php the_company_logo(‘list-image’); ?> to have custom thumbnail size.

    functions.php – add_image_size(‘list-image’, 100, 100, true);

    Would you be able to tell me how to troubleshoot?

    Thanks

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Adam Heckler

    (@adamkheckler)

    The image link is not https. I’ve installed SSL on the website, but can’t get the the_company_logo to display secure url.

    Can you add this code to your theme’s footer.php?

    https://gist.github.com/60c7d7e93a155de93fea

    Just above the </body> tag like so:

    https://d.pr/i/1ftkR/6g8OvQv9

    Look at your site and let me know what value comes out of that. It’s going to detect whether your site is using SSL properly or not.

    Would you be able to tell me how to troubleshoot?

    Troubleshoot… what exactly? Reading your post, it’s not clear what the problem is.

    Thread Starter zezzweb

    (@zezzweb)

    1) Value displayed: bool(true)

    2) The image size problem. I’ve added the image size
    <?php the_company_logo(‘list-image’); ?>
    However, it’s being ignored and squashed images are being displayed. I would like to show custom cropped thumbnails to avoid from displaying images with large image size. CSS cropping is something what I wouldn’t want to use here.

    Thanks

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    Value displayed: bool(true)

    If you look in the backend, under Job Listings > All Jobs and choose a job with an image, do you see this Company Logo section?

    https://d.pr/i/146VG/11genuLc

    What is the URL there of the image?

    I’ve added the image size. However, it’s being ignored and squashed images are being displayed.

    This seems like it should work at first glance, but unfortunately I don’t know if I can help much more here. We can’t really help troubleshoot any custom code.

    It might be worth looking around for a WordPress developer to help you accomplish this.

    Thread Starter zezzweb

    (@zezzweb)

    Thanks for the help Adam.

    The problem was with the images which were uploaded prior to https. Changing the url from the admin fixed the issue.

    The second problem also got resolved with it.

    Thanks a lot!

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    Glad to hear you got things working!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The problem with the_company_logo’ is closed to new replies.