• Resolved greguh

    (@greguh)


    Hi,
    The recipe picture – either from Feature image or the one into the recipe form – that is called on the Recipe page, is by default 150×150 (adding the feature into the url : …uploads/2016/03/demo-recipe-150×150.jpg).

    And so if I change the width of the picture (with !important css) it gets very blur.
    I tried a workaround using background url; but then the issue is that this picture is also used for seo (itemprop:image); and so I was wondering if you had a solution to directly stop calling the 150×150 picture (and call the normal one); instead of a workaround.

    thanks a lot !
    Greg

    https://www.ads-software.com/plugins/wp-ultimate-recipe/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brecht

    (@brechtvds)

    In the default recipe template the recipe image is set to use the 150 by 150 dimensions. The plugin then automatically tries to find the most appropriate thumbnail to make sure not to load bigger images then needed.

    There are a few options for loading a bigger sized one instead:

    The easiest solution (but it requires our Premium plugin) is just changing the images dimensions in the Template Editor.

    Another option is to increase the size of the smallest thumbnail on the Settings > Media page and then regenerate the thumbnails. If the 150 by 150 one is not available it will use another thumbnail.

    A final (advanced) option is to use the wpurp_output_recipe_block_recipe-image plugin hook to change the HTML directly.

    Kind regards,
    Brecht

    Thread Starter greguh

    (@greguh)

    thanks for such a quick reply !
    I was finally able to remove the 150×150 default size by using “Simple Image Sizes” plugin + the Force Regenerate thumbnails that you recommanded (nb: modifying Setting>Media Thumbnail and the Regenerate thumbnails did not work).

    Thanks a lot !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modify Recipe picture size’ is closed to new replies.