supraturbo Posted September 26, 2006 Posted September 26, 2006 <?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> does anyone know how to change it so i can just get a output of the image file. Basically i just want it to echo site.com/images/catimage.jpg and thats it no image tags etc. if someone that knows php could post the code to do it.... that would be awesome
squeekit Posted October 4, 2006 Posted October 4, 2006 anyone? your question is not very specific - but - if i understand you correctly (with the small amount of detail you have provided, you can simply get rid of the line preceeding the one you quoted - i would suggest commenting it out (for testing) before going as far as to delete it: <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <!-- <td class="pageHeading"><?php echo $category['categories_name'] ?></td> --> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> note because the line is outside of the php code you have to use html comment tags...
supraturbo Posted October 4, 2006 Author Posted October 4, 2006 yah i just want to pretty much cutt out the IMG Tag alt tags etc... <php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> so it only outputs ex: /images/cat.jpg
squeekit Posted October 4, 2006 Posted October 4, 2006 like this (????): <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image']); ?></td> ????????????????????????
Recommended Posts
Archived
This topic is now archived and is closed to further replies.