Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Adding downloads to my page


  • Please log in to reply

#1
quilter

quilter

    New Member

  • Member
  • Pip
  • 8 posts
Well here I am again with a question:

I think I know the code to make files downloadable
<ahref="filename:>download here</a>


However, I do machine embroidery and digitize designs, I want to offer some of my designs to viewers of the Webpage. I want the picture of the design to show and then the viewer clicks on the picture do download the embroidery file.

How do I combine the picture with the embroidery file? :tazz:
  • 0

Advertisements


#2
greyknight17

greyknight17

    Malware Expert

  • Visiting Consultant
  • 16,560 posts
If I get what you are saying, you want an image to show up and when the user clicks on it, you want them to be able to download it right?

If it's a jpg file, they will have to right click on the file and choose Save Image As...

Try something like this:

<a href="filename"><img src="path_of_your_picture_to_show_up"></img></a>

Just put the path of your picture you want the users to see in the img src part.
  • 0

#3
quilter

quilter

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
Boy what a fast response:

The picture would be a jpg although they are not downloading the picture file, only the embroidery file by clicking on the picture. This picture shows them what the design looks like.

With the code you provided in the area of <ahref="filename"><imgsrc= ?????

Confused as to path_of_your_picture_to_show up. Underscore ???

example: <img scr "Old_English_Mongram..gif"></a> Is this correct?


:tazz:
  • 0

#4
greyknight17

greyknight17

    Malware Expert

  • Visiting Consultant
  • 16,560 posts
OK, I see what you mean. But it's still an image file? You're using gif then right? OK, to make matters simple, let's say you want to show your users the picture on the site. This picture is called Pic01.jpg. Next you have the embroidery file and it's called Embroidery01.gif. If they are in the root folder on the server/webhost, then this is the code you will be using:

<a href="Embroidery01.gif"><img src="Pic01.jpg"></img></a>

I hoep that clear things up a little more.
  • 0

#5
quilter

quilter

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
Oh you are splendid>

Hope I am not driving you nuts yet. :tazz:


The picture of the design is either a jpg or gif file.

The embroidery design is in a zip file and is NOT a jpg or gif. It is a computerized machine embroidery file.

So would this work. By the way I still don't understand the underscoring???? in previous reply to my question.

<href="zippedfile"><imgscr="OldEnglishMonogram"></image></a>

Or do I put the image first, then the file?
  • 0

#6
greyknight17

greyknight17

    Malware Expert

  • Visiting Consultant
  • 16,560 posts
Ignore the underscore :tazz:. I just put it there because I want to say that you should include the full path to the file if it's not in the main/root folder.

OK, for your code, you should make sure it's correct. You said you want to show a picture also right? What's the name of that picture file? And what's the name of that zip file? OK, you should have something like this:

<a href="zippedfilename.zip"><img src="OldEnglishMonogram.jpg"></img></a>

Assuming that the zip file is called zippedfilename.zip and the picture file is called OldEnglishMonogram.jpg, that's how it should look. Of course, change it to whatever filenames you have.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP