Do background formatters work as a formatter, or don't do that?

Created on 6 February 2024, 10 months ago

When I was using this module I tried to use "Background Image" and "Responsive Background Image" as the Formatter for the block in background. I never got that to work nor show an color preview image for those. Is this by design, and I should not be trying a background formatter when using layout background? If so maybe mention in the readme? some of us confuse easily ;)

FYI, I was able to get a color preview for formats Blazy Image, Colorbox, GLightbox , Image, Imagefield Slideshow, Media PDF Thumbnail Image, Photoswipe, Photoswipe Responsive, and Responsive Image. However some of those formatters did not work well in final. I seemed to have better results with formatter set to Image, Blazy Image, or Responsive Image.

πŸ’¬ Support request
Status

Active

Version

1.3

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @webengr
  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    Hi! You are correct that background formatters won't work correctly. I should update the project page to include that. Thanks!

  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    I went to update the project page and found this text was already there:

    Just to clarify, you do not need to (nor should you) use any special field formatters that are typically used for background images. This module gives the illusion of background images while still using real img or video tags. That's why it's so easily compatible with Blazy and Responsive Images.

    I think I'll just leave it at that.

  • Thank you, as much as I try to read before asking, I missed that. thank you for this project and this support request can be closed.

Production build 0.71.5 2024