Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henning Molbaek 49 posts 99 karma points
    Sep 11, 2015 @ 09:56
    Henning Molbaek
    0

    Responsive images in Umbraco

    I have tried to follow a guide found here: http://www.logikfabrik.se/blog/responsive-images-in-umbraco/

    To get rid of the annoying style attribute that the TinyMCE adds to the img tag. However, it do not work.

    Any ideas? I want Umbraco to resize the image but not adding any style elements. It is a 7.2.X site.

  • Casper Andersen 126 posts 508 karma points
    Sep 11, 2015 @ 12:14
    Casper Andersen
    0

    Wow, that is a lot of complicated code. if i where you, i would use a div tag and set a class / style on that to contain the image, and set it's width and height like that. and then inside the div, set the image to 100% width and height auto that way it will scale all by itself. This is not an umbraco thing but more like a css Html thing

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Sep 11, 2015 @ 12:31
    Alex Skrypnyk
    0

    Hi Henning,

    Try to use - https://our.umbraco.org/projects/website-utilities/slimsy

    Great package for Umbraco responsive images.

    We used it.

    Thanks,

    Alex

  • Aziz Khakulov 9 posts 79 karma points
    Mar 22, 2018 @ 11:52
    Aziz Khakulov
    0

    That URL is redirected to http://www.logikfabrik.se/blog/responsive-images-in-umbraco/. Is Slimcy still available?

  • Nathan Woulfe 447 posts 1665 karma points MVP 5x hq c-trib
    Mar 23, 2018 @ 04:57
    Nathan Woulfe
    0

    Pretty sure it's not - have a look at lazysizes (https://github.com/aFarkas/lazysizes), it's a sweet piece of kit.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies