If images aren't displaying, check these common issues:
- SSI is disabled: Ensure your page has .shtml extension or SSI is enabled for .html
- Wrong image directory: Verify $image_dir is the correct server path
- Wrong image URL: Ensure $image_url matches the web path
- No images in directory: Check that images exist and are readable
- Script permissions: Script must be executable (755)
Test the script directly:
http://yourdomain.com/cgi-bin/ssi_image.pl
Debug: Check your server error log for specific error messages.