Geogebra tube thumbnail

whaynes shared this question 5 years ago
Answered

How can I get the url of the thumbnail image of material stored on Geogebratube, given the ID of the material?

Comments (3)

photo
1

Hi,


Maybe you are looking for this:


https://tube.geogebra.org/student/miiiii

iiiii=ID


Greetings

Raymond

photo
1

Hi,


for material 123 the material URL is, as Raymond said, https://tube.geogebra.org/s... and the thumbnail URL is

https://tube.geogebra.org/f...

(which gets redirected to a bit more complicated URL, but I suggest you use the short form).


Out of curiosity, why do you ask?


Cheers,

Zbynek

photo
1

Perfect, just what I was looking for.


I use Ruby to automate construction of a website for my students, and I wanted a function to generate links to Geogebra materials, like so:

    def ggb_link(id)

    material = "https://tube.geogebra.org/s...;

    thumbnail = "https://tube.geogebra.org/f...;

    return "<a href='#{material}'><img src='#{thumbnail}'></a>"

    end

© 2020 International GeoGebra Institute