# Scaling figures / graphics inside table [closed]

I have the following code:

\begin{table}[ht]
\begin{tabular}{c c c}
Name & Number of crossings & Arf invariant \\
\includegraphics[scale=0.5]{../images/unknot.jpg}  & 0 & 0 \\
\end{tabular}
\end{table}


which produces a table. But the picture does not get scaled. Why? And how can I make it scale the graphic? Thanks for your help.

-
there is nothing in tabular code that should affect the scale, if you remave all the table/tabular markup and just have \includegraphics{../images/unknot.jpg}\par\includegraphics[scale=0.5]{../images‌​/unknot.jpg} are they the same size? –  David Carlisle Sep 12 '12 at 11:56
@DavidCarlisle Yes indeed they are. I'm confused. It used to scale. –  Matt N. Sep 12 '12 at 12:02
@DavidCarlisle Thanks loads. Must be impossible to scale jpegs. It works with a png. –  Matt N. Sep 12 '12 at 12:03
It is possible to scale jpg's (I just tested to make sure). But it could fail for special jpg's if e.g. they don't contain the correct picture size informations. –  Ulrike Fischer Sep 12 '12 at 12:11
@UlrikeFischer Thanks a lot, that's useful to know! –  Matt N. Sep 12 '12 at 12:13