bpaskin Posted August 27, 2006 Share Posted August 27, 2006 Hi, I am going loopy trying to find this problem in the code. Basically, when the user comes into the index.php page the images that are shown are not bound by the constraints setup in admin. Every other page is fine. Could someone please point out where this piece of code is located? I have spent half the day looking, and probably ran over it a thousand times. Thanks, Brian Link to comment Share on other sites More sharing options...
jamesn666 Posted August 27, 2006 Share Posted August 27, 2006 Im having this problem too, i using a template that i got from templatemonster.com. I tried getting an answer out of them but to no avail. Let us know if you manage to fix this. Link to comment Share on other sites More sharing options...
bpaskin Posted August 27, 2006 Author Share Posted August 27, 2006 Hi, I am going loopy trying to find this problem in the code. Basically, when the user comes into the index.php page the images that are shown are not bound by the constraints setup in admin. Every other page is fine. Could someone please point out where this piece of code is located? I have spent half the day looking, and probably ran over it a thousand times. Thanks, Brian I found it!!! I just need to have a nice pasta dinner and let my eyes rest for awhile. I also assumed I knew what page it was included, but it was not true. Here is the fix: under includes/modules/new_products.php locate this line: <tr><td><a href="<?=tep_href_link('product_info.php?products_id='.$new_products['products_id'])?>"> <?=tep_image(DIR_WS_IMAGES.$new_products['products_image'],$new_products['products_name'])?> </a></td></tr> and replace it with this: <tr><td><a href="<?=tep_href_link('product_info.php?products_id='.$new_products['products_id'])?>"> <?=tep_image(DIR_WS_IMAGES.$new_products['products_image'],$new_products['products_name'],SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)?> </a></td></tr> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.