Nevermind I figured it out myself and I will post what I did here incase someone else needs help
the path for netpbm is
/home/username/public_html/whateveryounamedthe4imagesfolder/netpbm/
so for me it would be like this
/home/impecca/public_html/galleries/netpbm/
Also make sure you install netpbm under your 4images directory. You can download netppbm
http://sniptools.com/av/netpbm.zip because it's not installed on the servers already as far as I know and it's quite simple to do. Also just incase you need further instruction visit this
site