I’m developing locally on my machine using MAMP. I have not yet started using virtual hosts, so therefore the localhost url has a port number appended to it, like this:
http://localhost:8888/creo-x/modx/
I have installed the Gallery component on this modx installation, but when I upload an image, phpThumb does not display the image, but an error message. I can see that the reason is phpThumb is searching for the image using only localhost name and not the port number, like this
http://localhost/creo-x/modx/assets/components/gallery/files/2010/07/an-image.jpg
The error message says that connection refused, CURL available but returned no data. So I imagine it has something to do with the url with no port number.
How can I make phpThumb using the right url?