Hi,
Yes, that's it. Originally called a portrait hat, but known in more recent history as a picture hat. Large brim, usually with fancy trimmings, frames the face. The name does not really come from it being like a picture frame, although it surely does fit that. Portrait just became "picture" as it was a more common low class term for a painting.
B