# 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.

-

## closed as too localized by percusse, Paul Gaborit, Tom Bombadil, Marco Daniel, lockstepSep 29 '12 at 6:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

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