Thread:Help talk:Gallery format/Overlay images not available for displaying/reply (4)

Well, we managed to solve it at last. We are not sure its the best solution, but it works for now. On the "ext.srf.gallery.overlay.js" we changed the line 64 from this:

var title = image.attr( 'href' ).replace(/.+?\File:(.*)$/, "$1" ).replace( "%27", "\'" ),

to this:

var title = image.attr( 'href' ).replace(/.+?\Archivo:(.*)$/, "$1" ).replace( "%27", "\'" ),

We are using a Wiki in Spanish, I should've mencioned it ("Archivo" is spanish for "File"). Is there a better solution?

Cheers, Benjamín.-