Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images not showing...


mantisinc

Recommended Posts

Posted

Hi,

 

I have just installed oscommerce, and currently customising the store. However, I have a rather irritating problem, that I want to sort before I take part in any more customization..

The "quick search" logo is not showing up, its just a broken image box. The same also with the Languages icons.

 

However, I have looked at the where it is pointing to find these images, and the images are in that folder..

For instance, the Language icons are pointing to catalog/includes/languages/english/images/icon.gif This is exactly where the icon.gif is stored!

 

I am not to bothered about the language icons, as I will probably remove the language option. However, when clicking second button on the broken "quick search" image, and looking at the properties, it doesn't appear that it is pointing anywhere.

The search.php code looks like this:

 

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_SEARCH);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

'align' => 'center',

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>');

 

new infoBox($info_box_contents);

?>

 

It is pointing to 'button_quick_find.gif' which I have stored in catalog/includes/languages/english/images/buttons

 

The strange thing is..the "quick find" image shows up in Firefox, but not IE. The languaes icons however fail to show up in both.

 

My store looks awful at the moment... http://www.mantis-inc.co.uk/store/oscommer...051113/catalog/ but this is the link.

 

How can I rectify this problem?

 

Thanks in advance,

 

Ian

Posted

Okay, I have figured out the problem already.

I have seen a few other posts on the forum with the same querie as mine, with no replies. In future for those with the same problem, just simply delete the .htaccess file in the /includes directory.

Then, all images show ;)

Cheers,

Ian

  • 4 months later...
Posted
Okay, I have figured out the problem already.

I have seen a few other posts on the forum with the same querie as mine, with no replies. In future for those with the same problem, just simply delete the .htaccess file in the /includes directory.

Then, all images show ;)

Cheers,

Ian

 

Hi Mantisinc,

 

I am having the same problem as you do, and I notice there is a lot more people is having the same problem. So it's good to see that you have find the answer to this problem.

 

However, I for my web site I can't find the .htaccess file anywhere. Once you deleted this file does it get created automaticly? Do I need to have this file for my icons for appear?

 

Kindly regards

 

Trung.

Posted
Okay, I have figured out the problem already.

I have seen a few other posts on the forum with the same querie as mine, with no replies. In future for those with the same problem, just simply delete the .htaccess file in the /includes directory.

Then, all images show ;)

Cheers,

Ian

 

Thank you so much MANTISINC... I have been searching all day for this answer..

you are the best!!!!!!!!!!!!!!!!!!!!!!

Archived

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

×
×
  • Create New...