-
-
Notifications
You must be signed in to change notification settings - Fork 212
Add image sizes and the <picture>
element
#7296
Conversation
Cool! Imho I'd add the following ToDo:
Regarding your "to discuss" points:
|
…d at the same time anyway
Conflicts: system/modules/core/library/Contao/File.php system/modules/core/library/Contao/Image.php system/themes/default/main.css system/themes/flexible/main.css
We should discuss the open issues on mumble. Do you happen to have time today? |
Yes, is at 5 pm OK? |
What about 4:30 pm? Or anytime after 7 pm. |
4:30 pm OK |
|
@leofeyer done |
@leofeyer Can you tell me shortly before you want to merge this PR, so I can merge the |
I will merge it tomorrow midmorning. You can merge now, because I will not be updating the |
Conflicts: system/modules/core/library/Contao/Image.php
@leofeyer done |
@leofeyer cropping SVG images should work now, see my last commit. Should I create a new pull request for those changes on the feature/picture-element branch, or do you merge them by hand? |
I reviewed the current feature/picture-element branch: In
Should we add a hint to the image sizes edit pages that people should enable the picturefill.js library? Or should we enable "Include picturefill.js" by default? Everything else looks great 👍 |
madeyourday/contao-core@d719730 merged in 3d6ee29. I'll be adding the hint and then I'll merge :) |
Hint added in 2350c88. |
As discussed in #6932
Remaining to-dos:
tl_image_size_item
To discuss:
picture
template?block_
doesn’t seem right.src
attribute from the<img>
element, as recommended by picturefill?