Log In · Register

 
 
Closed TopicStart new topic
How do i get these Buttons on a site?
rail01
post Apr 6 2009, 03:45 AM
Post #1


Senior Member
****

Group: Member
Posts: 156
Joined: Feb 2008
Member No: 618,573



if want a UPLOAD or SUBMIT button for pictures or videos how can i get them? will any host have them in there sitemaker, do any CMS an easy way to put this?
 
Maccabee
post Apr 6 2009, 11:27 AM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



You must be extremely new to this. Google some stuff on how to start using a site.
What you'll need to do is upload an image to your server using ftp and then insert that image on a page.
 
Mikeplyts
post Apr 6 2009, 01:46 PM
Post #3


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Well, if you're asking how to make a button for a form just use the little snippet below at the end of your form before the </form> tag.

CODE
<value="Submit" type="submit" class="button">


If you're asking how to use a image as a button then just define the 'button' class in your css with a background-image: url(""); property that has the url of the image you want to use. Like so:

Your CSS:
CODE
.button {background-color:transparent; background-image: url("http://www.urlofimage.com/urlofimage.png"); width:XXXpx; height:XXXpx;}


You can also google on how to use different methods on this. Also, I'm not sure but if you're asking how to make a picture/video upload form than that will require knowledge of PHP and Javascript.
 
Maccabee
post Apr 6 2009, 01:49 PM
Post #4


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



I think he means turn an image of a button into a link. for that you could use.

CODE
<a href="link"><img border="0" src="image"></a>


 
Mikeplyts
post Apr 6 2009, 02:23 PM
Post #5


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



^Or that. w/e. laugh.gif

I think you should've written the code a little different so that he could understand better.

CODE
<a href="URL DESTINATION"><img src="IMAGE URL" border="0"></a>


tongue.gif
 
newkidontheblock
post Apr 6 2009, 02:28 PM
Post #6


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



you can use
CODE
<input type="image" src="IMAGE URL HERE" />
, That works the same way as a submit button. Make sure you replace IMAGE URL HERE with an image url.
 
mipadi
post Apr 6 2009, 03:36 PM
Post #7


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



Uh...guys? Unless I'm completely misinterpreting something, he wants to know how to allow users to upload images and videos via an HTML form:
QUOTE(rail01 @ Apr 6 2009, 04:45 AM) *
if want a UPLOAD or SUBMIT button for pictures or videos how can i get them? will any host have them in there sitemaker, do any CMS an easy way to put this?

This is a bit complicated. To handle uploads via a web form, you have to have a script that can process the incoming data and spit it out as an appropriate file. There are some content management systems or frameworks (Rails, Django, etc.) that can do this for you.
 
Maccabee
post Apr 6 2009, 03:43 PM
Post #8


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



o?
Thats kinda what I thought.
But he would need to use php. And he seems like a noob so that would be a tad difficult.

QUOTE(Fawaz @ Apr 6 2009, 02:28 PM) *
you can use
CODE
<input type="image" src="IMAGE URL HERE" />
, That works the same way as a submit button. Make sure you replace IMAGE URL HERE with an image url.



Unless he wants:
CODE
<form method="link" action="http://createblog.com/">
<input type="submit" value="BUTTON!">
</form>
 
mipadi
post Apr 6 2009, 05:00 PM
Post #9


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



QUOTE(jcp @ Apr 6 2009, 04:43 PM) *
o?
Thats kinda what I thought.
But he would need to use php. And he seems like a noob so that would be a tad difficult.

You don't have to use PHP -- you can use another server-side language.

Tip #1: PHP blows.
 
rail01
post Apr 15 2009, 01:57 AM
Post #10


Senior Member
****

Group: Member
Posts: 156
Joined: Feb 2008
Member No: 618,573



QUOTE(mipadi @ Apr 6 2009, 03:36 PM) *
Uh...guys? Unless I'm completely misinterpreting something, he wants to know how to allow users to upload images and videos via an HTML form:

This is a bit complicated. To handle uploads via a web form, you have to have a script that can process the incoming data and spit it out as an appropriate file. There are some content management systems or frameworks (Rails, Django, etc.) that can do this for you.


yes this is what i meant, lol at the others. do you know which content management system has this (thats good)or do they all have it?
 
rail01
post Apr 17 2009, 10:55 PM
Post #11


Senior Member
****

Group: Member
Posts: 156
Joined: Feb 2008
Member No: 618,573



does joomla have this?
 
sunshine07
post May 10 2009, 05:52 AM
Post #12


Sunshine07
**

Group: Member
Posts: 22
Joined: Oct 2008
Member No: 690,489



Um, you can try this -
http://sf-zone.net/image-hosting-script-v1/7/

I'm not sure if that is what you want, though.

rolleyes.gif
 
bethennyengland
post May 13 2009, 06:35 PM
Post #13


Newbie
*

Group: Member
Posts: 4
Joined: May 2009
Member No: 727,507



CODE
CODE
<a href="link"><img border="0" src="image"></a>
 
gausarts
post May 19 2009, 06:39 PM
Post #14


Newbie
*

Group: Member
Posts: 3
Joined: May 2009
Member No: 728,952



Try http://drupal.org or http://wordpress.org

Wordpress comes with built-in media support. Drupal must install some specific modules to meet your needs. Go with the easiest way you can follow.
Both communities are very active and helpful, and most of all, open source, if that matters _smile.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: