Skip to content

Commit

Permalink
Merge branch 'ncla-v5-support'
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed May 13, 2024
2 parents a93830d + da7cedb commit d117c07
Show file tree
Hide file tree
Showing 24 changed files with 71 additions and 68 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1, 8.2]
statamic: [4.0.*]
include:
- testbench: 7.*
php: [8.1, 8.2, 8.3]

name: PHP ${{ matrix.php }} - Statamic ${{ matrix.statamic }}

Expand All @@ -29,7 +26,6 @@ jobs:

- name: Install dependencies
run: |
composer require "statamic/cms:${{ matrix.statamic }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Execute tests
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
}
},
"require": {
"statamic/cms": "^4.0"
"statamic/cms": "^5.0"
},
"require-dev": {
"orchestra/testbench": "^6.9|^7.1",
"orchestra/testbench": "^6.9|^7.1|^8.0|^9.0",
"pestphp/pest": "^1.22",
"spatie/pest-plugin-snapshots": "^1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion resources/views/responsiveImage.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{!! $attributeString ?? '' !!}
src="{{ $src }}"
@unless (\Illuminate\Support\Str::contains($attributeString, 'alt'))
alt="{{ $asset['alt'] ?? $asset['title'] }}"
alt="{{ (string) $asset['alt'] ?: (string) $asset['title'] }}"
@endunless
@isset($width) width="{{ $width }}" @endisset
@isset($height) height="{{ $height }}" @endisset
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/ResponsiveTagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,4 @@ function assertMatchesSnapshotWithoutSvg($value)
expect($tagOutput)
->toContain('width="123"')
->and('height="123"');
});
});
11 changes: 9 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,15 @@ protected function resolveApplicationConfiguration($app)
parent::resolveApplicationConfiguration($app);

$configs = [
'assets', 'cp', 'forms', 'routes', 'static_caching',
'sites', 'stache', 'system', 'users',
'assets',
'cp',
'forms',
'routes',
'static_caching',
// 'sites',
'stache',
'system',
'users',
];

foreach ($configs as $config) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: 'Responsive Images addon is awesome'
hero:
breakpoints: [{ asset: { path: test.jpg }, label: default, minWidth: 0, widthUnit: px, ratio: 1.2142857142857, sources: [{ format: original, mimeType: image/jpeg, minWidth: 0, mediaWidthUnit: px, mediaString: null, srcSet: '/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=237&h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=284&h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=340&h=280 340w' }] }]
breakpoints: [{ asset: { path: test.jpg }, label: default, minWidth: 0, widthUnit: px, ratio: 1.2142857142857, sources: [{ format: original, mimeType: image/jpeg, minWidth: 0, mediaWidthUnit: px, mediaString: null, srcSet: '/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=237&h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=284&h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=340&h=280 340w' }] }]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: 'Responsive Images addon is awesome'
hero:
responsive: [{ asset: { id: 'test_container::test.jpg' }, label: default, minWidth: 0, widthUnit: px, ratio: 1.2142857142857, sources: [{ format: original, mimeType: image/jpeg, minWidth: 0, mediaWidthUnit: px, mediaString: null, srcSet: '/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=237&h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=284&h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=340&h=280 340w' }] }]
responsive: [{ asset: { id: 'test_container::test.jpg' }, label: default, minWidth: 0, widthUnit: px, ratio: 1.2142857142857, sources: [{ format: original, mimeType: image/jpeg, minWidth: 0, mediaWidthUnit: px, mediaString: null, srcSet: '/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=237&h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=284&h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&fit=crop-50-50&w=340&h=280 340w' }] }]
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"minWidth": 0,
"mediaWidthUnit": "px",
"mediaString": null,
"srcSet": "\/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=237&h=195 237w, \/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=284&h=234 284w, \/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&fit=crop-50-50&w=340&h=280 340w"
"srcSet": "\/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=\/test.jpg?q=90&fit=crop-50-50&w=237&h=195 237w, \/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=\/test.jpg?q=90&fit=crop-50-50&w=284&h=234 284w, \/img\/asset\/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=\/test.jpg?q=90&fit=crop-50-50&w=340&h=280 340w"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
<picture>

<source
type="image/jpeg" media="(min-width: 1024px)" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=70&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=70&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=70&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" media="(min-width: 1024px)" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=70&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=70&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=70&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" media="(min-width: 768px)" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=50&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=50&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=50&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" media="(min-width: 768px)" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=50&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=50&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=50&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=30&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=30&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=30&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=30&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=30&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=30&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img

src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
alt="test.jpg"
width="340" height="280" data-statamic-responsive-images
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
<picture>

<source
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img
alt="Some alt tag"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
width="340" height="280" data-statamic-responsive-images
>
</picture>
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
<picture>

<source
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?blur=10&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img

src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
alt="test.jpg"
width="340" height="280" data-statamic-responsive-images
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
<picture>

<source
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img

src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
alt="test.jpg"
width="340" height="280" data-statamic-responsive-images
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
<picture>

<source
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img

src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
alt="test.jpg"
width="340" height="280" data-statamic-responsive-images
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
<picture>

<source
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/webp" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?fm=webp&amp;q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<source
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
type="image/jpeg" srcset=", /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=237&amp;h=195 237w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=284&amp;h=234 284w, /img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?q=90&amp;fit=crop-50-50&amp;w=340&amp;h=280 340w"
sizes="1px" >

<img

src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=?w=340&amp;h=280"
src="/img/asset/dGVzdF9jb250YWluZXIvdGVzdC5qcGc=/test.jpg?w=340&amp;h=280"
alt="test.jpg"
width="340" height="280" data-statamic-responsive-images
>
Expand Down
Loading

0 comments on commit d117c07

Please sign in to comment.