hugolima Posted May 30, 2011 Share Posted May 30, 2011 Hello, I have the following problem:- When I am on the homepage, images like the search bar background, arrows, etc. etc. appear with no problem.But, when I go to a product page, all that images disappear. I found that the problem is a categorie name that appear on the url and because of that, all the images became broken.For example, when I am on the homepage, the url of search bar image is: http://www.wingakan.com/ramramindia/modules/blocktopmenu/img/block-search.gifBut, when I go to the product page, the url of search bar image turns to:http://www.wingakan.com/ramramindia/panos/modules/blocktopmenu/img/block-search.gifAnd it is not correct and that is why all that images won't appear. /panos/ is the category url and I must remove it from the images url.How can I solve this?Thanks Link to comment Share on other sites More sharing options...
hugolima Posted May 30, 2011 Author Share Posted May 30, 2011 I tried to delete this because I found the answer but it seems it is not possible.So, if someone gets the same problem the solution is making sure there is {$base_dir} on the url so it works on every page. Link to comment Share on other sites More sharing options...
rcplus Posted June 13, 2011 Share Posted June 13, 2011 Hi hugolima,I'm not following you. Can you please explain indepth??Thanks,Jeff Ong Link to comment Share on other sites More sharing options...
hugolima Posted June 13, 2011 Author Share Posted June 13, 2011 Just put {$base_dir}/THEMEPATHAnd its solved Link to comment Share on other sites More sharing options...
rcplus Posted June 13, 2011 Share Posted June 13, 2011 I'm so sorry, I reallly am not smart as you would think...where to add this? Really appreciate you fast reply. Link to comment Share on other sites More sharing options...
hugolima Posted June 13, 2011 Author Share Posted June 13, 2011 I'm so sorry, I reallly am not smart as you would think...where to add this? Really appreciate you fast reply. If you go to the page where the path is, for example, search.php, you will find the url fo the img, for example something like "../images/searchbar.gif" so you put "{$base_dir}/themes/themename/images/searchbar.gif. This way you never get broken image links.. Link to comment Share on other sites More sharing options...
rcplus Posted June 16, 2011 Share Posted June 16, 2011 I'm attaching screen shot to see if it makes sense for you?attachment main.jpg -> show my main index page, over here, all my template icon/graphic showed up.But when I click on Categories, Rckmount chassis, 2U form, all the template icon/graphic disappeared.I just cannot figure out why. This is where I need help!Thanks again for your fast reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now