View more context

 

alt

does Silverstripe have any support for srcsets? (sry cat on keyboard)

Firesphere

Ehhhh, yeps, sure, it's frontend, so it works just fine with a URL call

alt

or would I have to build something like DO => has_one: Image_SourceSet => has_many: Image?

Firesphere

You could extend the Image class to provide the source set....

alt

ok, seem to be a few modules of varying up-to-dateness.. I'll check them out (unless you've got one you can recommend?)

Firesphere

Not readily available, as I'm too lazy to look, but modules from respectable agencies would probably be my first start 🙂

kinglozzer

@alt we use the focuspoint module for non-TinyMCE stuff, and https://github.com/bigfork/htmleditorsrcset for TinyMCE

Show 1 attachment(s)
bigfork/htmleditorsrcset

Simple srcset integration with SilverStripe’s HtmlEditorField

Hide attachment content