Support » Plugin: Image Refresh » “size” attribute is not working

  • Resolved arsm

    (@arsenalemusica)


    Turning my review into a support request: “size” attribute is not working! Any advice?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Micah Wood

    (@wpscholar)

    I’ve just tested on a fresh WordPress install and the shortcode size attribute is working as expected.

    Here are a few reasons why you may not be getting the expected result:

    • Your theme could make an image appear larger or smaller even though the correct image size is in use.
    • You could be using an invalid image size and the plugin is falling back to the large image size. In this scenario, you should see a helpful message on the front end of the site when logged in.
    • The images you are using aren’t large enough. If an image is only 300px wide and you’re trying to use the large size (1024px) the image will only display at 300px wide because there isn’t anything larger to display.
    • Image croppings can be set up differently, so the behavior of a specific image size may be different than that of other image sizes.
    • There could be a plugin conflict. You can use the Plugin Detective plugin to help rule this out.
    • This reply was modified 2 months ago by Micah Wood.
    Thread Starter arsm

    (@arsenalemusica)

    ..thanks for the tips. It’s strange because I’m just using an icon-image, that is 200x200px at its max (and that’s the size I want to show it, i.e. it’s original size). Yet, that is a .svg image. Is it an unsupported format?

    Thread Starter arsm

    (@arsenalemusica)

    …sorry, can you please confirm about the .svg format? Is it supported?

    Plugin Author Micah Wood

    (@wpscholar)

    @arsenalemusica

    So WordPress doesn’t create different image sizes for SVGs as it does with other image formats. As a result, changing the size attribute in the shortcode will have no effect. However, the image should display at the size defined in the SVG.

    Thread Starter arsm

    (@arsenalemusica)

    …then I don’t know why it doesn’t, it’s always output smaller than the original size even if I don’t specify any in the shortcode. I guess I cannot use this plugin. Sad as it was useful .)

    Thread Starter arsm

    (@arsenalemusica)

    marking “resolved” as it’s clear that SVG is not supported by the plugin. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.