Originally Posted by
jax2
That's why I figured hey, if I can tick off an extra 4 or 5 seconds of having to tab (or click) and enter a ".jpg" it would significantly reduce my input time.
OK, so here's what you'll need to do:
load the file /youradmin/includes/modules/update_product.php into a text editor
Find the line that reads:
Code:
$sql_data_array['products_image'] = zen_db_prepare_input($_POST['products_image']);
Change it to
Code:
$sql_data_array['products_image'] = zen_db_prepare_input($_POST['products_image']).".jpg" ;
Save the file, and give it a try. I'll either do what you need, or cause a syntax error. Hopefully the former. :)
Cheers
RodG
Bookmarks