Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Statamic Responsive Images Laravel Package

spatie/statamic-responsive-images

Statamic addon that generates responsive images and variants on demand. Includes a “responsive” fieldtype for art-directed images with configurable breakpoints, ratios, and fit options, plus an Antlers tag to render the correct sources for each breakpoint.

View on GitHub
Deep Wiki
Context7
v5.2.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v5.2.1...v5.2.2

v5.2.0
  • Add a way to configure the dimension calculator threshold

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v5.1.1...v5.2.0

v5.1.1
  • Also dispatch a generate job for the default src when generating images

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v5.1.0...v5.1.1

v5.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v5.0.0...v5.0.1

v4.1.1

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v4.1.0...v4.1.1

v4.1.0

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v4.0.3...v4.1.0

v4.0.3

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v4.0.2...v4.0.3

v4.0.2

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v4.0.1...v4.0.2

v4.0.1

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v4.0.0...v4.0.1

v4.0.0

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v3.1.3...v4.0.0

v3.1.3

What's Changed

  • Rethrow Unable to read file exception for placeholder generation in SSG context by @ncla in https://github.com/spatie/statamic-responsive-images/pull/209. Developers must be aware of failed placeholder generation when running SSG due to a SSG bug. Workaround and discussion about it can be found here, alternatively just disable placeholder generation.

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v3.1.2...v3.1.3

v3.1.2

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v3.1.1...v3.1.2

v3.1.1

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v3.1.0...v3.1.1

v3.1.0

What's Changed

GraphQL improvements by @ncla in https://github.com/spatie/statamic-responsive-images/pull/203

  • Support way more arguments in responsive field, add all of them for each breakpoint
  • Accept fieldtype data into GraphQL responsive field

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v3.0.0...v3.1.0

v3.0.0

This is a breaking change release, as such please see UPGRADE.md for instructions on how to upgrade from 2.x version to 3.x.

What's Changed

  • Extensible dimension calculators by @ncla in https://github.com/spatie/statamic-responsive-images/pull/193
    • Developers now can customize the amount of images that get generated and their exact dimensions through a custom DimensionCalculator that developers bind in ServiceProvider. Calculations can be done for each breakpoint and source, and receive Breakpoint / Source in the calculation methods, which allows to access breakpoint parameters, original asset and more. For motivation and examples of this, please see the PR and the original issue associated with it.
  • Fix max widths config value or glide width param not being respected in some cases
  • Fix floating numbers being output for width and height values for Glide endpoint, they are now rounded integers
  • Placeholder now can be toggled per breakpoint
  • <img> tag src will now go through Glide instead of pointing to the original asset file, due to DimensionCalculators ability to return specific widths and heights for <img> tag
  • Empty media attributes will no longer be outputted
  • Properties have been renamed to be more descriptive:
    • value to minWidth
    • unit to widthUnit
  • Add mimeType property to explicitly help browsers determine what images does the <source> contain
  • Housekeeping: add additional tests for dimension calculator and GraphQL

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.15.2...v3.0.0

v2.15.2

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.15.1...v2.15.2

v2.15.1

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.15.0...v2.15.1

v2.15.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.14.5...v2.15.0

v2.14.5

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.14.4...v2.14.5

v2.14.4
v2.14.3

What's Changed

  • Control panel JS assets have been compiled for distribution with missing fixes from #156

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.14.2...v2.14.3

v2.14.2

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.14.1...v2.14.2

v2.14.1

What's Changed

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.14.0...v2.14.1

v2.14.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/statamic-responsive-images/compare/v2.13.1...v2.14.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport