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

Image-Sizes: Inserted CSS classes are not assigned to the image tag #2485

Open
berecont opened this issue Sep 8, 2023 · 1 comment
Open

Comments

@berecont
Copy link

berecont commented Sep 8, 2023

Configured image sizes in the backend. Inserted CSS classes are not assigned to the image tag.

<?= $this->getGallery('images')->generateMainImage(); ?>

<figure class="image_container">
<a title="" href="assets/images/0/myimage-0792f2b8.png" data-lightbox="product1" class="cboxElement">
<img src="assets/images/7/myimage-b2fb3623.png" width="800" height="565" alt="">
</a>
</figure>
@berecont
Copy link
Author

berecont commented Sep 8, 2023

Contao 4.13.30
php8.1
Windows, Laragon
Isotope 2.8.16

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

No branches or pull requests

1 participant