InMotion Hosting Support Center

creating link in joomla

Category: Joomla 3

n/a Points
2014-08-01 5:50 am EST

Hits: 71
when i insert an image banner on my page, i want to link the banner to an executable file on the local machine. how can i do it so that the executable runs in a new tab or the current page?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2014-08-01 8:35 am EST

When pointing to a file on a local machine, it looks slightly different than the format within a web server.
For example, if you were to point to dog.png in an images file on a webserver you would use :

<href="/images/dog.png"> link text</a>

But to point to a file in a specific place on the local machine, it would need to be set up as:

You can see it is a bit different. You will need to know that the user has the file in the exact path you expect it or it will not find it.

Also, executable files are not opened in browser tabs, but run on the users desktop itself. This is for security reasons and no browser has any plugin to run them. Some files such as video files may run through a plugin in a browser window, but executables do not. The best you can hope for is when you click on the link, the browser offers to download the file, which would not help you if it is already located on the local machine.

Kindest Regards,
Scott M

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!