hmm, I know there was a bug on the old code for later editions. Did you update the gallery version or using the same one that was on 1.0.5?
I'm glad you sorted it, but sure I used the code on the custom block page here for the demo. I will go and edit it if it is wrong.
Request for the next release
Re: Request for the next release
No, no changes to the Gallery files at all. It was just a change in the code that's on your other thread, that gets inserted into portal.php.