0
\documentclass{article}
\usepackage{graphicx}
\usepackage{hyperref}

\begin{document}

  \begin{figure}
    \href{http://commons.wikimedia.org/wiki/File:Pachydyptes_ponderosus.jpg}
         {\includegraphics[width=\textwidth]{picture}}
    \caption{A reconstruction of New Zealand Giant Penguins (\emph{pachydyptes ponderosus}) by 
      F.~W.~Kuhnert (1865--1926). Click on the image to visit the page on Wikimedia Commons where it 
      was downloaded from.}
  \end{figure}

\end{document}

This is the correct code. But it becomes black image. Is there any problem

  • Hi daniel, This link is I already tried. – Muthu Kumar Jul 23 '15 at 08:30
  • I have the problem in use graphics package. That is not worked. Butu with demo it is ran,but the image is black. So I want the simple program to run the image from the webpage of hyperlink. – Muthu Kumar Jul 23 '15 at 08:33
  • As described in the linked answer you can't do this with TeX directly. You have to save the picture locally and include this copy. – Daniel Schlegel Jul 23 '15 at 08:41
  • 1
    The you have posted is not supposed to download the image from the web, it requires that you have already downloaded the image to the same folder as your .tex file and named it picture.jpg. All the \href command does is create a hyperlink to the image on the web. Try the technique in the accepted answer there (with wget) to download the image automatically. – Torbjørn T. Jul 23 '15 at 08:45
  • @TorbjørnT. R u have any idea for get the image from the folder continuously by loop control. Please give me the loop for the step – Muthu Kumar Jul 23 '15 at 08:46
  • What do you mean by loop? I can't really say any more than I've done already: see this answer. – Torbjørn T. Jul 23 '15 at 08:48
  • Ok. Sorry. I want to get iterate from folder. Can you help me – Muthu Kumar Jul 23 '15 at 08:49
  • So you want to get all the images from a folder? A folder on the web, or a local folder? Either way, I cannot help. – Torbjørn T. Jul 23 '15 at 09:06
  • Ok. Thank for your reply. Please help me for this. Do you know any expert in the LaTex. Please mail me for some doubts. I have doubts in Latex. My mail id is muthukumaratyahoo@gmail.com – Muthu Kumar Jul 23 '15 at 09:11
  • I am not sure what the problem is either. I think you need to give a bit more information. By the way, there are experts like Ulrike Fischer who you can pay to help you. – Johannes_B Jul 23 '15 at 09:17
  • Apadilam onum avasiyame illa – Muthu Kumar Jul 23 '15 at 09:18
  • @Johannes_B Are you know about this stage. Are you will to chat with me . – Muthu Kumar Jul 23 '15 at 09:18
  • I think there curretnly is a large language gap here. You could try the mailing list of the indian TUG (http://www.tug.org.in/list.html). Maybe language restrictions aren't a matter there. – Johannes_B Jul 23 '15 at 09:22
  • K. Are you know anybody's mail id to ask the doubts in the chat. – Muthu Kumar Jul 23 '15 at 09:24
  • I don't even know what the last message is suppposed to mean. I bet the indian group can refer you to a person who can help you without a language barrier. – Johannes_B Jul 23 '15 at 09:26

0 Answers0