Images should be GIF, JPEG oder PNG. All other formats are not readable (without problems) by browsers.
But I think, here is the problem another:
Please add in /admin/item.php
$upd_res =
db_query("UPDATE item SET picname1='$npic_name[0]' WHERE ID='$new_row[0]'") or db_die();
chmod("../images/$npic_name[0]", 0777);
Same for picname2 ...
Greetings,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed PHPay but I am not getting my uploaded images to display. Do they have to be in Gif or Jpg, or is there some other problem?
Images should be GIF, JPEG oder PNG. All other formats are not readable (without problems) by browsers.
But I think, here is the problem another:
Please add in /admin/item.php
$upd_res =
db_query("UPDATE item SET picname1='$npic_name[0]' WHERE ID='$new_row[0]'") or db_die();
chmod("../images/$npic_name[0]", 0777);
Same for picname2 ...
Greetings,
Andreas.
Where in the file does it go?
"$upd_res = ... " exists already
"chmod(..." have to be added.
Thank you, that problem is now solved.
I now have a new problem, the items when added to the cart are not putting in the quantity and so are not giving a total cost.
the address for this is http://dlsne.co.uk/mbro