Actually, what you've come up with is much closer to a "Gallery3" way of doing it that I was going to sugget -- which is a short bit of PHP script which that work in one of my non-Gallery sites. Not even sure that one could be inserted into the standard Gallery footer text like yours.
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group. If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).
To post a NEW MESSAGE to the group, send an new email to:
To view or sign in to this group on the web, use this URL:
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/564554ff-da07-414d-a0b7-0f5f33213ea3n%40googlegroups.com.