Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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