Loading...
 
Skip to main content

img plugin (Tiki 27.0) incorrect ratio'd width or height

Status
Open
Subject
img plugin (Tiki 27.0) incorrect ratio'd width or height
Version
27.x
Category
  • Error
Resolution status
New
Submitted by
Geoff Brickell
Lastmod by
Geoff Brickell
Rating
(0)
Description

Inserted images in wiki pages using the img plugin only need to specify either the height or the width if a size different to the actual image size is to be used - and the 'generated' <img> tag would use a calculation of the ratio'd other dimension.
BUT now the missing dimension is being 'set' to the actual image size making the inserted images the wrong size - BUT further examination shows that this only happens if the plugin's input width or height is specified as nnnpx i.e. the px is added - if just a number is used then everything works OK

Solution
Workaround
Importance
10 high
Easy to solve?
6
Priority
60
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8649
Created
Monday 15 July, 2024 20:10:47 UTC
by Geoff Brickell
LastModif
Sunday 21 July, 2024 10:00:44 UTC


Show PHP error messages