could anyone please tell me how to cite a picture properly from places like this? https://d2l.ai/_images/lstm-0.svg The current latex code is.
\begin{figure}[!ht]
\includegraphics[]{imgs/lstm-0.svg}
\caption{LSTM}
\end{figure}
should I cite it under reference? or in the image caption? or in the footnote? or in the main text of my thesis when I mention this figure?
Is using the link of the image enough?