Loading...
 
Skip to main content

Image with Description Loses Constraints

Status
Closed
Subject
Image with Description Loses Constraints
Version
15.x
16.x
17.x
Category
  • Usability
Feature
Edit interface (UI)
Resolution status
Fixed or Solved
Submitted by
John Morris
Volunteered to solve
luci
Lastmod by
John Morris, luci, Marc Laporte
Rating
(2)
Description

Describe precisely what you did (how to reproduce)
I uploaded an oversized image to a wiki page. The oversize image constrains nicely on the wiki page with:
Thumbnail: None
Responsive Image: Default

When the following parameters are applied the image renders poorly:
Thumbnail: None
Responsive Image: Default
Caption: Text
Alternative Text: Text

Describe exactly the faulty consequences.
The faulty consequences are the image fly's out of the constrained area of the wiki page into the body of the site when the Caption and Alternative Text params are used.

Explain what you expected instead of the faulty consequences.
I expected the image to constrain nicely in the wiki page as it does when only the Thumbnail and Responsive Image params are applied.

Solution

Add max-width in style on div and the description div around images with the width specified (only).
See rev:61708 and the backports: rev:61709 and rev:61710

Importance
5
Easy to solve?
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5990
Created
Saturday 18 June, 2016 03:05:17 UTC
by John Morris
LastModif
Sunday 19 March, 2017 14:23:46 UTC


Show PHP error messages