The upper picture is definitely probably RIM-162 ESSM, not RIM-7, and afaik does not have a ground launcher so it would require some kind of adaptation.
*Edit: on closer look, the fin design in the upper picture doesn't match anything made by the US. I think the missiles pictured here are actually 9M38M1:
The BUK launcher is designed to carry these missiles, so the upper picture is probably just a generic picture of a BUK with missiles loaded, not specifically one that Ukraine is using with US-supplied Sea Sparrow missiles.
There's some interesting discussion on retrofitting mobile launching systems in that article, but it seems mostly speculative as to what might be done and I don't know whether the picture is a real system or a photo edit done as an example.