I don't know if this helps or, not, but I think Walter Zorn is doing it somehow. Check out walterzorn.com Terry On Apr 6, 2005, at 8:25 PM, Roland Neilands wrote: > Does anyone know of a simple way of detecting in Javascript if a given > file is an image or not? > > I need to decide whether to load it into an <img> tag and provide > resize buttons or not. > Is checking a list of files extensions the only way? > > Regards, > Roland > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript >