Hi Folks I have an osCommerce application that I am modifying and have run into one of those situations where the brain is full of methane. What I am trying to do is custom size the images for one page only but when I replace the variables in the code below, I keep getting a parsing error. Does anyone know how to re-write the following code so that I can replace the "SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT" variables with simple height and width commands? <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, '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> Code (markup): Thank you all in advance
Hi EricBruggema Thank you for the response. The lights have come on in my brain now that you mention it. To elaborate on what you mean when you say to replace it with '123' . . . I remember now that variables can be replaced with number attributes so that: SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT is replaced with: '120','150' (width and height attributes respectively) Thanx again