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:
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
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?