Menu

Problem with images

amac33
2004-07-13
2004-07-15
  • amac33

    amac33 - 2004-07-13

    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?

     
    • Andreas Kansok

      Andreas Kansok - 2004-07-13

      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.

       
    • amac33

      amac33 - 2004-07-14

      Where in the file does it go?

       
    • Andreas Kansok

      Andreas Kansok - 2004-07-14

      "$upd_res = ... " exists already

      "chmod(..." have to be added.

       
    • amac33

      amac33 - 2004-07-15

      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.

       
    • amac33

      amac33 - 2004-07-15

      the address for this is http://dlsne.co.uk/mbro

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.