benjaminkott / benjaminkott/bootstrap_package
Wrong image width in containers when using "Insert Records"
- Dominant language
- PHP
- Stars
- 355
- Forks
- 212
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 31
Description
# Bug Report
## Prerequisites
* [x] Can you reproduce the problem on TYPO3 v12.4 LTS
* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package) to see if your bug or enhancement is already reported?
## Description
Image widths are wrong, when inserting images via "Insert Records" content element in a multi column container.
## Steps to Reproduce
1. Install EXT:container
2. Create content element type "2 Columns 50%/50%"
3. Insert content element type "Images Only" in column 1
4. Create content element type "4 Columns"
5. Insert content element type "Insert Records" in column 1 and include previously created record "Images Only".
### Expected behavior
Width of image in element "2 Columns 50%/50%" is half the width.
Width of image in element "4 Columns" is 1/4 the width.
### Actual behavior
Width of image in element "4 Columns" is half the width.
### Screenshots
#### Backend view

#### Frontend view

Image 1 has width of 620 pixels, that's ok.
Image 2 has width of 620 pixels, that's incorrect, it should be 310 pixels.
Image 3 has width of 310 pixels, that's ok.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.