Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View Illustrator files in web browsers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View Illustrator files in web browsers
Authored by: lbya on Jul 03, '05 09:29:00AM

I would like this to work for me, but for me what happens when I try to view an AI CS file online (saved with "PDF compatibility" on), is Schubert plugin says "Converting Postscript to PDF" and then I finally just get an empty, blue page in Schubert.

I think the problem could be that my web host (Dreamhost) might have the Mime type for .ai set to postscript instead of PDF. So in an .htaccess file I put the line "AddType application/pdf .ai".

This worked, in that Schubert now displays the AI files as PDFs directly, and the content is rendered successfully. So maybe this can be a helpful hint for others.

BUT the problem is that if I do want to download the file to disk, either by right-clicking on the link in the first place, or by using the "save" button in Schubert, with this new .htaccess in place Safari now converts the file extension to .pdf upon downloading it! So instead of the original file "filename.ai" as stored online, what gets downloaded to my desktop is "filename.pdf".

I could then rename the file back to .ai on my desktop after it's downloaded, but that's too confusing my users. I want them to be able to choose to either view in-browser or download/manipulate these AI files, in the same way as you would do it if it was a JPEG or something.

Does anyone know how to resolve this, so Schubert sees the file as PDF content, but Safari will maintain the .ai suffix when downloading it to disk? This is Safari 1.3, Schubert plugin 2.0.1, in Panther 10.3.9.



[ Reply to This | # ]
View Illustrator files in web browsers
Authored by: _Gekko_ on Feb 02, '14 03:26:03PM

Maybe just instruct your downloaders to ctrl-click the file and open the pdf with Illustrator ?



[ Reply to This | # ]