Re-hello world.
I solved my problem myself, by addind properly the images in the media library.
Previously I was adding them at the same time I was creating the gallery, resulting in a lot of errors.
Well in fact I also did a mess in the function.php but i’m not sure if it was efficient (I’m not a developper, I don’t advise you to do this!)
function hatch_image_sizes() {
add_image_size( ‘archive-thumbnail’, true );
add_image_size( ‘single-thumbnail’, true );
Bisous bisous