harishpathak — 2013-10-18T03:33:23-04:00 — #1
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.
lemon_juice — 2013-10-18T08:26:47-04:00 — #2
It's not possible, browsers cannot open Photoshop documents. Same with .doc but as far as I know IE could do that by embedding MS Word in the browser window if it's installed - however, I'm not sure if this works on current IE versions, even if it does I wouldn't rely on this feature to be available to most people.
You could try using PHP to convert .psd to .jpg or .png with ImageMagick and displaying it in the browser. However, this will work only for .psd files saved with compatibility option.
In other words - internet browser is not Photoshop and cannot open Photoshop files. You would need to install a Photoshop plugin in your browser, however, I don't know if it even exists.
michael_morris1 — 2013-10-18T22:44:07-04:00 — #3
Open the file in Photoshop. Click File > Save for web
oddz — 2013-10-20T13:56:57-04:00 — #4
That isn't completely true considering google drive is able to display psd files in the browser. That said not a project/task I would take on myself.
lemon_juice — 2013-10-20T19:58:54-04:00 — #5
Well, this is true - but given enough time and determination one could write a php script that will open just about any format in the browser.
system — 2013-10-22T04:02:42-04:00 — #6
chris_upjohn — 2013-10-22T04:51:49-04:00 — #7
system — 2014-10-08T01:02:39-04:00 — #8
This topic is now closed. New replies are no longer allowed.