Thumbnail has an invalid url (non-existent)

25 views
Skip to first unread message

Tom Reijnders

unread,
Aug 19, 2025, 9:22:40 AMAug 19
to Tsugi Developers
Hi Dr Chuck,

I am (trying to) work with itslearning to get LTI working between ItsLearning and Xerte. When placing the Xerte project as an exercise everything works fine. However, if they try to place a Xerte object in the editor (as an embedded object) it doesn't work:

     "The tool sends an invalid image back as thumbnail. So the tool should fix it.     So whomever has contact with the tool provider should tell them this."
    "tool provider need to provide picture for the tool, so we can show that picture,     otherwise it fails we can try to show some image, if we failed to load image     from provider, but it's separate task"

The URL they are talking about is 'https://lti.example.com/thumb.jpg'.  This seems to come from the function addLtiLinkItemExtended (lines 105-146 of DeeplinkResponse.php). As far as I can tell I cannot overrule this in a custom load_registrations.php function either. 
As according to ItsLearning TSUGI (and thuis Xerte) is not a certified LTI implementation they seem to be unwilling to spend any time on it. What is the easiest/best solution to this?
Cheers,
Tom Reijnders

Chuck Severance

unread,
Aug 19, 2025, 12:04:18 PMAug 19
to Tsugi Developers, Tom Reijnders
Tom,

Yikes - I there was supposed to be a config.php way to override this.  Easy fix - I should have something for you soon.

IMS Certification has been “under construction” for years now.   I will have to check if (a) Apereo is now a member and (b) certification is in decent shape.

/Chuck

--
You received this message because you are subscribed to the Google Groups "Tsugi Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tsugi-dev+...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/tsugi-dev/e38e87ac-9884-4d39-99c3-060a3d6fe6c9n%40apereo.org.

Chuck Severance

unread,
Aug 19, 2025, 5:55:24 PMAug 19
to Tsugi Developers, Tom Reijnders
Tom,

I just committed a fix.  It should be an easy patch to any recent version of Tsugi.


Let me know if this fixes your problem.

/Chuck

On Aug 19, 2025, at 9:22 AM, Tom Reijnders <ajjrei...@gmail.com> wrote:

Tom Reijnders

unread,
Aug 20, 2025, 5:15:55 AMAug 20
to Tsugi Developers, cs...@umich.edu, Tom Reijnders
Thank you so much for this. I'll let you know if this works as expected. I first need to update my PHP to 8.3

Cheers,

Tom

Op dinsdag 19 augustus 2025 om 23:55:24 UTC+2 schreef cs...@umich.edu:

Charles Severance

unread,
Aug 20, 2025, 6:56:08 AMAug 20
to Tsugi Developers, Tom Reijnders
The patch is pretty simple - you could apply it to an older version pretty easily for a quick test.  It is touching code that has been stable for a long time.

Of course upgrading to PHP 8.3 (and 8.4) is always a good thing :)

/Chuck
Reply all
Reply to author
Forward
0 new messages