• Resolved rawansd

    (@rawansd)


    Hi,

    I’m trying to change the image size that appears in search. I changed the setting to use thumbnail, medium and large and in all cases these changes are not reflected on size. Is there away to create custom size image in search bar or what other solutions are available to fix the problem.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Have you tried to change the widht/height here: https://i.imgur.com/w5iglxb.png

    If all goes well, that should change the output image size in the live search list.

    All the best,
    Ernest

    Thread Starter rawansd

    (@rawansd)

    Hi,

    I tried and it didn’t work. It’s only changing the image size but not adjusting the ratio. Here’s the website [ redundant link removed ] and cosmolle is an example how photo doesn’t look good in search bar.

    Plugin Author wpdreams

    (@wpdreams)

    Okay! So what I have found, that strangely there is a “?crop=1” parameter added to the end of the image URLs. I’m not sure if that is coming from WordPress itself, but I assume it might be.

    Can you check the featured image source? From what I can see it’s a smaller image source, like 150×150 or so. Try different values there, that should change the output. By default it should be the “Original size” selected.

    Thread Starter rawansd

    (@rawansd)

    Thanks for you reply I did try this before and I tried this again today and still didn’t work, It didn’t even take an effect. I changes thumbnail size, I tried medium as well while making sure I selected medium in the plugin’s setting and still nothing was changed.

    Plugin Author wpdreams

    (@wpdreams)

    Okay, right now I’m looking and the crop is no longer there, it’s only the object fit now. Please try this custom CSS:

    img.asl_image {
        object-fit: contain !important;
    }

    This gives me this layout: https://i.imgur.com/alG0I9z.png

    Thread Starter rawansd

    (@rawansd)

    It did work! Thanks for your help!

    Plugin Author wpdreams

    (@wpdreams)

    Great ?? You are very welcome!

    Feel free to rate the plugin if you like it, it’s greatly appreciated. I will mark this as resolved now.

    All the best,
    Ernest

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change image size’ is closed to new replies.