Have to tried the Simple Portal standard block galleries? I thought it worked for both popular SMF galleries.
Look in the Simple Portal blocks section and when you select 'new block' you should see in the next page an item for 'Gallery'.
That will display latest photos or random photos.
If more specific conditions (selection a specific album) you can try searching for 'SMF gallery block'. I'm sure you will find custom code on this site... or on another SMF portal site
. That code will work in a custom php block. You can add the album ID in the block code. Try looking.