Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1

    Default PHP code to display xara thumbnails

    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
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2008
    Posts
    223

    Default Re: PHP code to display xara thumbnails

    Cool stuff Sculptex. Hmmm, methinks, pointing/referencing text boxes and objects in xara to a php script, export to html... place holders naming a php-file.. some basic database... one step closer to a Xara CMS?
    Last edited by Xcellent; 01 July 2008 at 09:41 AM.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •