Loading...
 
Skip to main content

H5P Collage Flies out of Constrained Area in Cached Wiki Page

Status
Pending
Subject
H5P Collage Flies out of Constrained Area in Cached Wiki Page
Version
17.x
18.x
19.x
21.x
22.x
Category
  • Error
  • Usability
Feature
H5P
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Please retest
Submitted by
John Morris
Keep informed
Jonny Bradley
Lastmod by
John Morris
Rating
(1)
Related-to
Description

Using H5P Collage, when the file is inserted into page using for example:

Copy to clipboard
{h5p fileId="32"}


The collage looks fine, but when the page is cached, the images fly out of the constrained area and convert to full size images.

Please see show instance.

Solution
I just did a lot of updates to h5p in branch 22.x and trunk, and did a quick test on this ands it looks ok to me - hope it improves things for you all! (will backport to 21.x if the fixes seem good here, probably can't be much worse? 😬
Workaround

Testing this issue on my own tiki17 instance, I found that if I disable page cache, H5P behaves nicely. If I enable page cache for the page the Collage is being displayed in, the collage images fly out of constrained areas.

Work around is to disable page cache for the H5P item to display well or to add the missing CSS to your Look&Feel > Customization. See http://jmorris-11758-6403.show.tikiwiki.org/tiki-admin.php?page=look for example.

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6403
Created
Tuesday 18 July, 2017 00:44:27 UTC
by John Morris
LastModif
Saturday 24 October, 2020 16:58:30 UTC


Show PHP error messages