Page 1 of 1

To open .psd (photoshop document) file in a popup window

Posted: Tue Oct 22, 2013 2:36 am
by harishpathak
Hi All,

Can anybody please tell me, how to open .psd( Photoshop Document ) file in a popup window in php, not in Photoshop software.
I want .psd ( Photoshop Document ) file should be open in a popup window , not in Photoshop software.
I have a link of .psd file in php that would be open in a popup window. And also, no dialog box should be open while opening .psd file in a popup window.

Same case with opening .doc ( ms-word ) file in a popup window.

Please reply soon.

Very Urgent........................

Thanks

Harish Pathak

Re: To open .psd (photoshop document) file in a popup window

Posted: Tue Oct 22, 2013 3:33 pm
by Christopher
Since browsers are not able to view these types of documents, you will need to use a PHP extension or run a program on the server to convert the .psd, and .doc files to JPEG and HTML respectively. Then they can be displayed.

On what OS does the web server run?
https://www.google.com/search?q=php convert .psd to .jpg
https://www.google.com/search?q=php convert .doc to .html