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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
harishpathak
Forum Newbie
Posts: 1
Joined: Tue Oct 22, 2013 2:10 am

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

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post 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
(#10850)
Post Reply