Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Fri May 24, 2013 3:31 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Custom Image for PayPal Buy Now button
Author Message
 Post subject: Custom Image for PayPal Buy Now button
PostPosted: Thu Nov 18, 2010 3:01 am 
Offline

Joined: Fri Nov 12, 2010 8:12 pm
Posts: 9
Hi Cédric,

I have been using Pay Pals' Buy Now Button for some time now so I am familiar with getting the button and copying the code into a snippet ect.

What I would like to do is customize the image - a simple white button that says "Purchase".
I should be able to generate the image - save as a gif - place in my iDisk/web/sites folder and somehow get a path or html to past into the already generated button ad replace the "source file" but I have as yet, been unsuccessful. Theoretically could be done when generating the button on PayPals' site if I knew the path or it could be done right in the snippet's html of the already generated button.

Would mind sharing the correct place to put the correct file and what format that file should be it?

Sorry for so many questions, I am overhauling my marketing and therefore my sites and keep getting stuck on these little niggling details.

Cheers, Wendy
Blog: http://www.thepainteddiary.com
Gallery: http://www.wendyhartpenner.com
Art Rocks: http://www.customdesignandtile.com


Top
 Profile Send private message  
 
Custom Image for PayPal Buy Now button
Author Message
 Post subject: Re: Custom Image for PayPal Buy Now button
PostPosted: Thu Nov 18, 2010 2:39 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi Wendy,

as written in the

How do I upload a file which is not added directly to iWeb and what will its URL be?

chapter of my E-Book I would recommend you to have a folder called "media" (without quotes) where you upload all the non-iWeb stuff and put this folder into your iDisk/Web/Sites/ folder.

The URL of this folder will then be

http://yourdomain.com/media/
or
http://web.me.com/username/media/

if you put an image in the media folder let's call it paypal.gif the URL will be

http://yourdomain.com/media/paypal.gif
or
http://web.me.com/username/media/paypal.gif

and entering this URL into your browser will display the image in your browser.

In the PayPal code you always see two URL of images. One called pixel.gif (which you should not change) and another one which I put in red in the following code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="5HMUEPE4UHL8C">
<input type="image" src="https://www.paypal.com/en_US/CH/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

and which is the one which you have to replace with the URL of your own button if you want to change it. The URL of the PayPal button may look slightly different in your case but it's just the only .gif other than the pixel.gif so you should be able to find it.

Hence replace the PayPal button's URL with your own URL and that's it. You can also enter the URL to your own button when creating the button on PayPal's page under Step 1, Customize text or appearance, Use your own button image.

Whether you use a .gif or .jpg or .png doesn't matter. .gif is recommended because it's light-weight and allows transparency whereas .jpg doesn't.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield