cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right here!

Dropbox files & folders

Get in sync with the Dropbox Community. Our members can answer all your questions on Dropbox files and folders. Join a discussion or start your own today.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hyperlinks does not work in the cloud

Hyperlinks does not work in the cloud

HanTh
New member | Level 2

I have a basic account.

In dropbox I have a (shared) folder containing a html-file with internal hyperlinks (within this file) and also external hyperlinks to other files (docx/pdf etc.) in the same folder.

 

In my local dropbox folder everything is working correctly.

 

When I try doing the same in the cloud (via dropbox.com) it does not work well.

The internal hyperlinks are OK

The external hyperlinks does not work at all : 'Error (400)'

 

When I use my laptop or desktop (with local dropbox folder) there is no problem.

But when someone is using a tablet (with no local dropbox folder) then the external hyperlinks does not work.

 

How can I fix this problem?

3 Replies 3

Re: Hyperlinks does not work in the cloud

Здравко
Super Collaborator | Level 20

Hi @HanTh,

You placed your question in too general context. There are many possible cases and there is a solutions/workarounds valid for every one, but not others!

 


@HanTh wrote:
...

But when someone is using a tablet (with no local dropbox folder) then the external hyperlinks does not work.

...

The above part of your question is little bit more concrete. You still should clarify what exactly you mean "external hyperlink", it's still unclear. Could be any link to other site or just a link to other file in your Dropbox account. Links to external sites should work always. If there something doesn't work, it's probably some fault of you. I'm going to assume you are trying to point to other file within your Dropbox account. As you already mentioned, there is no local folder and even more the mobile Dropbox application doesn't provide a way to directly access account resources. That's way other account resources left inaccessible, till you explicitly select them using the application. There is no other supported way currently, unfortunately.

Hope this clarifies matter to some extent.

Re: Hyperlinks does not work in the cloud

HanTh
New member | Level 2
 

 Thank you for your explanation. That confirms my suspicion. Indeed, I tried to point from one file to other files within my Dropbox account (on dropbox.com). And as you say, that is not supported.

Re: Hyperlinks does not work in the cloud

Здравко
Super Collaborator | Level 20

@HanTh wrote:

... one file to other files within my Dropbox account (on dropbox.com). And as you say, that is not supported.


Hi @HanTh,

Actually, I didn't say exactly this! I have said that they are not directly accessible, not that they can't be accessible at all. 😉 The key moment here is fact that shared links are redirect links, i.e. not something pointing directly to the actual resources. The actual links are temporary and are changing on regular basis. That's matter of security. The redirect link, when referenced, redirects correctly to the actual link. When you take this in mind, everything is possible. 🙂

Just make sure everything needed for your page to display correctly has shared link (i.e. all resources - HTML, CSS, images, etc). Everywhere in every one HTML use absolute link path, not shorthand! For example if you use file structure like:

Dropbox
┣index.html
┣css
┃└mystyle.css
┗images
 └avatar.jpg

You should NOT rely on HTML file (i.e. index.html) like the following one to work:

 

<!DOCTYPE html>
<html>
  <head>
    <title>Just an example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="css/mystyle.css" type="text/css" media="all" />
  </head>
  <body>
    <img src="images/avatar.jpg" alt="My Face" title="My representative picture 😉" /></a>
  </body>
</html>

 

You should refer to every one resource by full representation of corresponding shared link instead! I.e. something like:

 

<!DOCTYPE html>
<html>
  <head>
    <title>Just an example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="https://www.dropbox.com/s/abcdefgh123456/mystyle.css?raw=1" type="text/css" media="all" />
  </head>
  <body>
    <img src="https://www.dropbox.com/s/123456asdfghj/avatar.jpg?raw=1" alt="My Face" title="My representative picture 😉" /></a>
  </body>
</html>

 

Here links (and not only) are illustrative only. Real links should point to the real resources (i.e. to "css/mystyle.css" and "images/avatar.jpg" in this example). 👆 Once again you can NOT refer to any resource residing in Dropbox directly; you should use shared links instead. Direct referrings will work only on places where the particular resources are in sync local (your local computer/laptop for example, but also local on some web server when configured properly).

Hope this sheds additional light. 😉

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Здравко Super Collaborator | Level 20
  • User avatar
    HanTh New member | Level 2
What do Dropbox user levels mean?
Need more support?