Main menu

You are here

Collage

Primary tabs

A free HTML5 based photo collage content type allowing users to set up multiple photos in a custom layout using only a web browser. Show off your photos in a tasteful way on your WordPress, Moodle or Drupal site.

Create interactive content like this with the free H5P plugin for:

Description

The Collage tool allows you to put together beautiful images in a soothing composition. If you want to impress your followers by adding cool image collages to your blog, this is definitely the tool for you!

thanks for the plugin, it works like a charm! Two questions, I would like to add my own numbers of rows and cols in the template section (in my case 7 by 4). After following the code I found the semantics.json file with the values for the templates in it (2-1 or 3-3 e.g). But i guess there is a misunderstanding on my side since changing stuff in this file even if its just the description text does nothing in the editor backend.

Could you point me the right way how to change the number of rows and cols ?

The next step for me would be to make the images clickable so i can link to different subpages within my site, lets see how far I will come with that ^^

Cool to see that you're doing some coding here :) I don't know anything about the collage content type, but I know that if development mode or development folder isn't on the semantics are stored in the database when the H5P file is uploaded, and after that the database value is used so it won't help changing the file. Hope it helps!

And continued to save the values after input in the same style the paths for the images are saved. But whenever i save my changes i get the error message "H5P internal error: unknown content type "String" in semantics. Removing content!".

Can you give me a hint once more what I could be missing so that i can save the input from the backend in the content.json file ?

thanks for your help, after reading the documentation i also found the "text" type which solved that issue :).

Im close to finish now, the only thing missing is to save the input from the user into the content.json file which im currently trying to wrap my head arround.

Could you give me a last helping hand where the file gets written out so that i can call that function again so save my inputs or do I have to add my custom fields somewhere other than in the semantics.json file ?

i just found my mistake and everything is working now. To anyone reading this later on. Add your custom content in the semantics and add it not by using self.content but instead just content.whateverYourContentsNameIs.

This tool makes is really simple and fast to create a collage, but I'm wondering why the rights of use button won't appear when I create a collage. When making collages of creative commons licensed work it would be really handy for the attribution information to be packaged with the collage.

This was in the original plans, but unfortunately, there was no time to implement it. I will have a look at it as soon as I get some spare time. If anyone else has the time and would like to have a go at it I'm totally fine with that.