This is an archived forum post. The information may be outdated. Contact us if you have any
Differences between development and production environments
wrote on 2011-05-16:
This is my last issue to be resolved. The problem is with the generation of images in the pdf file. When I run my application in production environment I have the following code in the allocation of images to work correctly.
localhost is the standard hostname given to the address of the loopback network interface. It usually translates to 127.0.0.1.
A loopback interface is used by network client software to communicate with server software on the same computer. It can't be accessed from another computer. That's the reason why the images are not printed to PDF since the Pdfcrowd service does not run on your computer (it runs in the cloud) and thus can't download images specified using localhost.