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 by Spatie that adds a responsive image fieldtype with art direction and breakpoint support. Automatically generates responsive variants on asset upload and renders them in Antlers via the responsive tag, with configurable breakpoints and options.

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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai