benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

Wrong image width in containers when using "Insert Records" #1478

Open SventB opened 8 months ago

SventB commented 8 months ago

Bug Report

Prerequisites

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

image

Frontend view

image

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.