Q2: Why isn't my image displaying?

Answer

If images aren't displaying, check these common issues:

  1. SSI is disabled: Ensure your page has .shtml extension or SSI is enabled for .html
  2. Wrong image directory: Verify $image_dir is the correct server path
  3. Wrong image URL: Ensure $image_url matches the web path
  4. No images in directory: Check that images exist and are readable
  5. 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.
Previous SSI Image FAQ