WD hard drive was working perfect and now it is not being recongnised by my laptop Help!

My hard drive is doing the exact same thing.  I tried different port, tried disconnecting from power and retrying.  I’ve tried on another computer other than my mac.

It has all my photos on it and I was just trying to save some more on there.

Is there a way I can get my photos off this hard drive??