rossmotorsport Posted December 16, 2004 Posted December 16, 2004 Hi, I searche for my project a module with the capacity to create some article in listing mode without photo, do you now if it's available on the ressources community ? thanks in advance XDO
boxtel Posted December 16, 2004 Posted December 16, 2004 Hi, I searche for my project a module with the capacity to create some article in listing mode without photo, do you now if it's available on the ressources community ? thanks in advance XDO <{POST_SNAPBACK}> not sure if I read your question correctly but if you do not add an image (photo) it will not show. Treasurer MFC
rossmotorsport Posted December 16, 2004 Author Posted December 16, 2004 Yes, but you have on the main page article, the "box without image, and i'ts necessary to add an image with the text "not photo available" at each article, and my need it's an listing mode article because the number article is more to 300.....and if i add at each article the image box "not photo avilable" it's too long for build this database article check on my web site the problem...at this adress http://www.ross-motorsport.com/boutique_v1....php?cPath=9_36 not sure if I read your question correctly but if you do not add an image (photo) it will not show. <{POST_SNAPBACK}>
boxtel Posted December 16, 2004 Posted December 16, 2004 Yes, but you have on the main page article, the "box without image, and i'ts necessary to add an image with the text "not photo available" at each article, and my need it's an listing mode article because the number article is more to 300.....and if i add at each article the image box "not photo avilable" it's too long for build this database article check on my web site the problem...at this adress http://www.ross-motorsport.com/boutique_v1....php?cPath=9_36 <{POST_SNAPBACK}> the images are produced by the function // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $border = '0') { if ( (empty($src) || ($src == DIR_WS_IMAGES) || ($src == DIR_WS_PRODUCT_CATEGORY_IMAGES) || ($src == DIR_WS_PRODUCT_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } etc. this means that if you do not have an image file defined for a product, $src = DIR_WS_IMAGES and the function will not return an "<img" tag. as such no broken image is shown. So make sure you use the right function. Treasurer MFC
boxtel Posted December 16, 2004 Posted December 16, 2004 the images are produced by the function // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $border = '0') { if ( (empty($src) || ($src == DIR_WS_IMAGES) || ($src == DIR_WS_PRODUCT_CATEGORY_IMAGES) || ($src == DIR_WS_PRODUCT_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } etc. this means that if you do not have an image file defined for a product, $src = DIR_WS_IMAGES and the function will not return an "<img" tag. as such no broken image is shown. So make sure you use the right function. <{POST_SNAPBACK}> if you do want the "no image" as default without having to add it to your articles every time: set the image field in the database to default to a certain image. Treasurer MFC
Recommended Posts
Archived
This topic is now archived and is closed to further replies.