Strange behavior when opening .psd file using hyperlink

  • Thread starter Søren M. Olesen
  • Start date
S

Søren M. Olesen

Hi

On a web page, I've created at link, which pretty much looks like this:

<a id="HyperLink1" href="file:///\\myServer\myShare\myPhoto.psd">Open
Photoshop file</a>

when I click the link, Photoshop startsup and the Image gets loaded. I'm
able to work with the image and everything, however when I try to save the
image, I get a strange error:

"Could not save CONTENT.PSD because of a disk error."

1) Why is it trying to save something called CONTENT.PSD, when the filename
is myPhoto.psd (If I try to use save as, it also suggest CONTENT.PSD)

2) Why am I not able to save the file anyways?

3) The image has an embedded profile, when I open the image normally,
Photoshop asks me whenter to use it or discard it. When opening it using the
link, it doesn't .... how come...

Any suggestions would be greatly appreciated.

SMO.
 
J

Jerry McEwen

Hi

On a web page, I've created at link, which pretty much looks like this:

<a id="HyperLink1" href="file:///\\myServer\myShare\myPhoto.psd">Open
Photoshop file</a>

when I click the link, Photoshop startsup and the Image gets loaded. I'm
able to work with the image and everything, however when I try to save the
image, I get a strange error:

"Could not save CONTENT.PSD because of a disk error."

1) Why is it trying to save something called CONTENT.PSD, when the filename
is myPhoto.psd (If I try to use save as, it also suggest CONTENT.PSD)

2) Why am I not able to save the file anyways?

3) The image has an embedded profile, when I open the image normally,
Photoshop asks me whenter to use it or discard it. When opening it using the
link, it doesn't .... how come...

Any suggestions would be greatly appreciated.

SMO.

I'm on my first cup of coffee, so please forgive any lack of
coherence.

Why are you accessing a local file with an HTML tag, but using
"href="file"? Did you try localost to see that changed the behavior?

When you open the file in Photoshop, apparently without first saving
it locally (I know it's local to you, but I don't think the browser is
aware of this), you are modifying a temp Internet file. Here is a 50kb
PSD with an embedded profile, what happens when you open it?
http://www.protoweb.net/011_11.psd

You didn't mention where you are trying to save it, are you trying to
overwrite the existing file? My gut says that might be a factor, but I
can't say why.

I can't hazard a guess at #3, but would be interested in what OS and
version of Photoshop you have.
 
S

Søren M. Olesen

Hi Jerry

Let me try to explain what I'm trying to acomplish......

I would like to make a (probably more than one) web page with links to all
our PhotoShop .PSD file.
The .PSD file exists on a shared fileserver from where the user is able to
open and save the file.
The plan is to make is possible for our user to open the file in Photoshop
using the link on the web page, edit the image and then save it back onto
the fileserver.
I'm currently able to create a link (as described earlier) on my page, which
will open Photoshop and load the image directly from the fileserver (without
downloading it to the client). However as soon as I try to save the image
back to the fileserver, I get the error "Could not save CONTENT.PSD because
of a disk error."
If I try to do a "Save As..." the name Photoshop suggests is CONTENT.PSD,
eventhough the name I see in the Window title is the myPhoto.psd. If I
change the name to myPhoto.psd then I can save it OK......

So my question is... why do Photoshop try to save it as CONTENT.PSD instead
of myPhoto.psd and how do I make it save my Image with the correct name
without doing a Save As...

TIA

S¿ren
 
J

Jerry McEwen

Hi Jerry

Let me try to explain what I'm trying to acomplish......That's pretty much what I figured.
So what happens when you open http://www.protoweb.net/011_11.psd?
Profile or not?

As for the shared fileserver thing, you are invoking the http aspect
by using <a href> Is there a web server in the picture? If so, please
try http://IP/filename.psd or whatever and see what happens.

If there is NOT a web server in the picture, please try
\\IP\filename.psd
 
S

Søren M. Olesen

Hi Jerry

I get a dialog asking if I want to open the file. If I try top open it, the
file is first downloaded to my PC and the opened in Photoshop

There no web-server in the picture, so when I try http://IP/filename.psd I
just get an HTTP Error 404

If I try \\IP\filename.psd the the file is opened in Photoshop (directly
from the fileserver), but as soon as I try to save it, I get the
CONTENTS.PSD error. If do a Save As.. with the correct name then I'm able to
save the file.....

S¿ren
 
J

Jerry McEwen

Hi Jerry


I get a dialog asking if I want to open the file. If I try top open it, the
file is first downloaded to my PC and the opened in Photoshop

Are you saying that, when you open it, you first have to save it? If
that's so, then you surely have a bug with your IE and I wish I could
make a suggestion, but I can't.
There no web-server in the picture, so when I try http://IP/filename.psd I
just get an HTTP Error 404

If I try \\IP\filename.psd the the file is opened in Photoshop (directly
from the fileserver), but as soon as I try to save it, I get the
CONTENTS.PSD error. If do a Save As.. with the correct name then I'm able to
save the file.....

Well, at least you know the workaround. That *may* be as good as it
gets unless you want to devote a lot more time to it. I wish I had a
better answer, 'sorry.
 
R

Robert Aldwinckle

Jerry McEwen said:
Are you saying that, when you open it, you first have to save it? If
that's so, then you surely have a bug with your IE and I wish I could
make a suggestion, but I can't.

I suspect it is the same lack of awareness in this product about
files located in the TIF as there is in Office products when they
are passed temporary files which represent attachments.

In the case of the Office products the unwary user who doesn't first
save the document somewhere safe can actually make changes to it
and "save" the changes, oblivious of the fact that, as soon as the
message which contained the attachment is closed, the temporary
file will be deleted from the TIF in spite of the saved changes.

Use FileMon (freeware from SysInternals) to see if this is the case
for the other software product too.


HTH

Robert Aldwinckle
---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top