Genius Posted March 15, 2004 Share Posted March 15, 2004 I have uploaded my image with my product and that shows fine, but if i go and ammend a product details like the price or the description, and then update my product i loose the image and my image size goes to 0 KB. yet i have not even touched the image path.. Many thanks Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2004 Share Posted March 15, 2004 Most likely this line (and others like it) 'products_image' => (($HTTP_POST_VARS['products_image'] == 'none') you should use null rather than 'none' Matti Link to comment Share on other sites More sharing options...
Genius Posted March 15, 2004 Author Share Posted March 15, 2004 Hi, The images size now is okay but the image path now disappears. in the admin section and looking at the catalog site the product does not have the image :( Link to comment Share on other sites More sharing options...
Genius Posted March 15, 2004 Author Share Posted March 15, 2004 I have Solved it now... problem was i had a line called $sql_data_array['products_image'] = tep_db_prepare_input($HTTP_POST_VARS['products_image']); deleted it and all is well thanks matti Link to comment Share on other sites More sharing options...
Genius Posted March 15, 2004 Author Share Posted March 15, 2004 One more question to add to this. IF i do not browse for the image and say i put in the pathe name like books/12345.jpg that does not really seem to work.. would someone please advise me as what i can type there without using the browse button, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.