Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294496

Multiple image upload breaks image dimensions

$
0
0

Problem/Motivation

Displaying images that were uploaded at the same time (selecting mulitple images) are broken. The height/width from the first image are applied to all images.

How to reproduce

  1. Create a content type with an image field, cardinality unlimited.
  2. Be sure that the images are displayed as "original image" (no image style)
  3. Create a content and upload multiple image at the same time (click on the upload button, and select more that one image. Images must have differents sizes and be smaller than the screen so they are not resized by CSS max-width.)
  4. Save

The width/height attributes on the image tag are the same (those of the first image), even if the images we uploaded does not have the same dimensions.

Proposed resolution

- tdb

Remaining tasks

Contributor tasks needed
TaskNovice task?Contributor instructionsComplete?
Create a patchInstructions
Add automated testsInstructions
Add steps to reproduce the issueNoviceInstructionsDone
Embed before and after screenshots in the issue summary NoviceInstructions

User interface changes

None.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 294496

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>