This image is of HMS Gibraltar and an unknown ship at Devonport in 1867.
Gibraltar was a 101 gun two deck steam ship of the line, the last wooden steam line-of-battleship to commission in the Royal Navy. Commissioned in 1863 she served in the Mediterranean Fleet before becoming a training ship for boys in Belfast in 1871. She was broken up in 1899.