Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default image to fallback #10

Closed
linkrb opened this issue Jan 28, 2022 · 1 comment
Closed

Add default image to fallback #10

linkrb opened this issue Jan 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@linkrb
Copy link
Collaborator

linkrb commented Jan 28, 2022

Liip image bundle has a fallback for the images

https://symfony.com/bundles/LiipImagineBundle/current/configuration.html
default_image

When the path of the image it should use the default_image.

    umanit_image_figure(
      image.path,   // <-  I'm Emtpy = take the fallback 
      'small_thumbnail',
      ['thumbnail', 'large_thumbnail'],
      'image alt',
      'img img--cover img--zoom',
      '(min-width: 768px) 33.3vw, 100vw',
      'class-figure',
      'Figcaption text',
      'class-figcaption',
    )
@linkrb linkrb added the enhancement New feature or request label Jan 28, 2022
@DjLeChuck
Copy link
Member

Resolved with the 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants