• Resolved beamazingbernt

    (@beamazingbernt)


    Hi there.

    I’m loving the AMO Team plugin so far.

    The photos used for the thumbnails and panel are great, however the photos used on the AMO-Team created pagesare squashed as it’s displaying a 750×350 photo from a square photo (which is the requirment for the other two displayed images.

    Unfortunately, both the featured image and the post-format need to be the size they are to display the thumbnail and panel image correctly, so I can’t add a 750×350 image to either of them.

    Do you have any thoughts on how to edit the code to get the image on the amo-team featured image to display better?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Oleg Goltsev

    (@amothemo)

    Hi,

    1.

    The photos used for the thumbnails and panel are great, however the photos used on the AMO-Team created pagesare squashed as it’s displaying a 750×350 photo from a square photo (which is the requirment for the other two displayed images.

    This page is displaying the image created by WordPress setting or your theme code, and it’s not square – https://healingroomsbristol.co.uk/dev/wp-content/uploads/2018/01/andrew-smith-750×350.jpg
    As you can see it’s exactly 750×350.

    2. There is no requirement for photos to be square to use in the plugin. They just have to be bigger than 640×640, so the plugin could make a square image with such dimensions from it. For example the image could be 1024×700 and the plugin still be able to crop square image with 640×640 dimensions from it.

    3. This page in your message comes from single.php in your theme, which is used for blog posts. So what image size is used there is decided by your theme, not the plugin, it has nothing to do with this page. Yes, this page outputs content created by plugin, but the plugin has no control over it, or how it’s presented.
    More over as you may see such links to member pages are hidden everywhere inside the plugin. Because it’s not official functionality of the plugin, but I decided to leave it there (for SEO purpose), because it works fine on most themes.

    3.

    Do you have any thoughts on how to edit the code to get the image on the amo-team featured image to display better?

    – You need to edit single.php of your theme because as I said that’s the page template, which outputs the content on such pages. So you need to edit it. Or maybe this image size is set in your WP settings and the page just uses “large” WP image size.

    Thread Starter beamazingbernt

    (@beamazingbernt)

    Hi Oleg,

    Thank you for your reply. Is there a way to set the Info Panel Image to be used as the team member’s thumbnail as well, instead of the thumbnail image being generated from the featured image?

    Because as it is now, if you set a 750×350 image as the featured image, it will look wrong in the thumbnail image, however, the thumbnail image and info panel image share a more similar resolution.

    Thanks again for your help.

    Plugin Author Oleg Goltsev

    (@amothemo)

    Hi,
    To keep the answer short, I’ll tell how everything works, so you could understand what options are available.

    1. Both the panel image and thumbnail one use the same resolution 640×640 pixels (if they are available). Which plugin creates from any uploaded image. (From your image size 750×350 the plugin can create only 640×350 image).

    2. So the minimum requirements for image are (as I already said):
    Minimum width of 640px
    Minimum height of 640px
    It can be 1920×1080 but plugin will crop the size it needs.

    3. You image size (750×350) doesn’t fit to plugin requirements. And if it shows without problems in member panel doesn’t mean, that you can use this format with the plugin.

    Rectangle size was chosen for a reason. There would be many problems if I would allow height of the image be less than its width.

    Thread Starter beamazingbernt

    (@beamazingbernt)

    Hi Oleg,

    Apologies,I should have added that I was looking for an additional option for my issue. If you know what code I can add to the theme to allow me to use a rectangular rather than a square photo for the /amo-team/profile pages.

    Alternatively, consider this a feature request to add this option. ??

    Thanks again,

    Oleg,

    Is it possible to make the panels smaller so you don’t have to scroll down past the picture to reach the information?

    Thanks
    Bryony

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AMO Team Featured image issues’ is closed to new replies.