Hello. I have 2 subdomains on my server, each running 1 side of a 2 part system. I don’t want to duplicate images across these 2 subdomains, so 1 site pulls its images from the other. That all works fine, except for if the image doesn’t exist. Is there any way for me to check if the file exists before i send it to the resizer (where getimagesize will generate an error)? Is there a way to link to files across subdomains, or do a file_exists() check? I tried “…/blah/blah” but that didn’t work…
Any suggestions would be greatly appreciated!