Skip to content

Commit 1506e7b

Browse files
authored
Merge pull request #51 from tacman/patch-2
Fix typo in twig-components.rst
2 parents 380fb20 + 4b1b9c9 commit 1506e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/misc-features/twig-components.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ When the ``joli:Img`` or ``joli:Picture`` components are used, the media variati
536536

537537
This means that, when using the ``joli:Img`` or ``joli:Picture`` components for displaying a newly created media, that does not yet have variation files, the bundle will not be able to retrieve the mime-type, the dimensions and some other information about the requested media variation files. And, by consequence, the ``<img>`` and ``<picture>`` tags will not be able to set the ``width``, ``height``, ``type``, ``sizes``, etc. attributes.
538538

539-
This could be a problem if you are picky about the HTMl attributes or if you do not want media variatiosn to be generated on the fly. In this case, you can set the ``must_store_when_generating_url`` attribute to ``true`` in the cache storage configuration to have the media variation files generated when the URL is generated:
539+
This could be a problem if you are picky about the HTMl attributes or if you do not want media variations to be generated on the fly. In this case, you can set the ``must_store_when_generating_url`` attribute to ``true`` in the cache storage configuration to have the media variation files generated when the URL is generated:
540540

541541
.. code-block:: yaml
542542

0 commit comments

Comments
 (0)