# include picture with output directory option pdflatex

I'm trying to compil latex files from an external directory using output-dir option because some *.sty files are in my LaTeX directory but not in my current directory.

The command I use is like this :

`pdflatex -output-directory=/LaTeXdir /LaTeXdir/main.tex`

How can I do to specify the pictue location ? Why `-output-directory` doesn't work ? Thanks