Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.gif button images and .htaccess


Guest

Recommended Posts

  function tep_image_submit($image, $alt = '', $parameters = '') {
   global $language;

   $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"';

   if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';

   if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters;

   $image_submit .= '>';

   return $image_submit;
 }

 

above is the tep_image_submit code..

 

its the same as the original from 2.2 ... question is.. why arent my images showing?

 

I do have access to cPanel, but dont know what to password protect..

 

thanks

Link to comment
Share on other sites

 ?function tep_image_submit($image, $alt = '', $parameters = '') {
? ?global $language;

? ?$image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"';

? ?if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';

? ?if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters;

? ?$image_submit .= '>';

? ?return $image_submit;
?}

 

above is the tep_image_submit code..

 

its the same as the original from 2.2  ... question is.. why arent my images showing?

 

I do have access to cPanel, but dont know what to password protect..

 

thanks

 

 

more on this...

When trying to access the image by itself in a browser i still get the

HTTP Error 406 - Not acceptable

Internet Explorer error...?

I know they are there too!

Link to comment
Share on other sites

more on this...

When trying to access the image by itself in a browser i still get the

HTTP Error 406 - Not acceptable

Internet Explorer  error...?

I know they are there too!

 

 

why do some images do not show their URL properties?

some have no information available and some do show the button properties of where the image is located, but still gets that error!!!

 

i really need this done by today so anyone that helps will be rewarded...

thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...