[Solved] Caption with footnote for side-by-side pictures

Håkon Hjelmeland Dale Asks: Caption with footnote for side-by-side pictures
I have two figures standing next to each other, each with their own captions. I want to have the image source in a footnote in each of their caption, and have the footnote displayed at the bottom of the page together with all the other footnotes. The method used in the example under does not achieve the expected/wanted result. Does anyone know if there’s a way to achieve this?

Code:
begin{figure}[H]
    begin{minipage}{0.40textwidth}
        centering
        includegraphics[width=0.75textwidth]{images/picture1.jpg}
        caption[desc]{desc footnote{source 1 url}}
    end{minipage}hfill
    begin{minipage}{0.40textwidth}
        centering
        includegraphics[width=0.75textwidth]{images/picture2.jpg}
        caption[desc]{desc footnote{source 2 url}}
    end{minipage}  
end{figure}

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.