I have written a PHP script (attached in a zip file) to extract the thumbnail from a Xara file and display it. This may be useful as an extension to an existing web-based file preview system or a system on its own. maybe even on these forums for attachments. The two examples below show it in operation. these images are dynamically generated from the thumbnail previews embedded with the xara files. one xara file is local to my server, where the script is running, the other an attachment from these here forums. right click the images the get the properties to see what I mean.
(if my server load goes up significantly, I will remove this script without notice, so please upload to your own server to actually use!).
of course if you use this script yourself, you will not leave the filenames as a parameter like I have. also it would be easy to restrict it to files on your server only.
the script is not finished, the jpeg and png sections are not written, basically because xara always seems to output gif files. also no error checking etc.
http://www.sculptex.co.uk/showxar.ph...maxarafile.xar
http://www.sculptex.co.uk/showxar.ph...6&d=1214854416
Bookmarks