Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

You guys ROCK!


Recommended Posts

Posted

Before I ask another question I must thank all you with experience for donating your time & energy to help others like myself. I would say that others just haven't had the time to make a personal post like this but from others and myself a gracious THANK YOU for your professionalism.

With that said...

Now to ask a question:

I am 'trying' to add a picture (blue ribbons.jpg) from a new file I created under "etc" called "lgpc_pics"; nomatter what I try it isn't going in.

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

Don't understand what you are trying to do but I would rename blue ribbons.jpg so there are no spaces in the name e.g. blue_ribbons.jpg

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

My bad! I actually have that underscore but forgot to put that underscore in place when I was typing. (That comes with age!)

All I am trying to do is add a picture & need the code to do such.

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

My bad! I actually have that underscore but forgot to put that underscore in place when I was typing. (That comes with age!)

All I am trying to do is add a picture & need the code to do such.

It sort of depends on where you are wanting to add the picture. osCommerce is basically written in php. But within php you can mix html as long as you end the php before you start the html..

 

So, if you can tell us where you want to add it maybe we can give you very specific instructions.

 

If you are in html part of the code it is as simple as:

 

<img src=etc/lgc_pics/bule_ribbon.jpg>

 

If you are in the php part of the code, maybe this:

 

?> <---this ends the php code

<img src=etc/lgc_pics/bule_ribbon.jpg>

<? <---this returns to php code

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...