Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Admin Backup Permissions Incorrect · 10 years ago

    FYI ... I don't recall this happening under previous versions, but after installing the beta version of the Admin plugin the backup system seems to be changing the file permissions of the files it is

  • Shortcode: image photo path · 10 years ago

    I have an idea for the ImgCaptions-plugin which takes any classes originally set on the Markdown image and applies it to the <figure>-element instead. This would allow ultimately all custom styl

  • Shortcode: image photo path · 10 years ago

    Gingah... Well done. I just had a chance to test-drive your ImgCaptions plugin. It does, indeed, perform exactly as described on the tin. Image with caption is converted to valid figure, img and figca

  • Shortcode: image photo path · 10 years ago

    In reference to the original post, I meant to write that I released a solution as ImgCaptions.

  • Shortcode: image photo path · 10 years ago

    I released this solution - using a different DOMParser - as ImgSrcset.

  • Shortcode: image photo path · 10 years ago

    The technical issue is a bit of a quandary. Post-cache it will return a server error: PHP Fatal error: Method DiDom\Document::__toString() must not throw an exception in /root/system/src/Grav/Common/

  • Shortcode: image photo path · 10 years ago

    There is some "controversy" around the picture element, and my understanding is that currently the <figure> element with nested <img> including srcset's is preferred. Presumably this is be

  • Shortcode: image photo path · 10 years ago

    Gingah, will be very interested to see how this plugin develops. Having access to the new(ish) HTML picture element in Grav would be awesome. Bonus points if it's a client-friendly implementation. I u

  • Shortcode: image photo path · 10 years ago

    I tried a newer parser, which by its own comparison is faster than other alternatives, and the time compared with regex seems negligible. Required Composer to run, but the 32 seconds saved in renderin

  • Shortcode: image photo path · 10 years ago

    I often prefer using regex for "simplicity", but Dom-parsing is not prone to error from imperfect patterns.