Jump to content

Amr Magdy

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Amr Magdy

  1. I need to add module or add custom code to make a copy of my image after upload it from backend How I can do that?
  2. Hi all When I uploaded any image it uploaded to "/site/assets/files/xxxx" path with permission 600 and return 403 forbidden when I tried yo access it or edit it my config file now like this: $config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire But after I upload new image I found 2 version of it : one named like :"orginal.0x260.jpg" with permission 644 another one with orginal name with permission 600 I tried to upload from another external PHP file to the same directory "assest/files" and it is uploaded with "644" !!! Anybody can help?
  3. When I uploaded any image it uploaded to "/site/assets/files/xxxx" path with permission 600 and return 403 forbidden when I tried yo access it or edit it my config file now like this: $config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire But after I upload new image I found 2 version of it : one named like :"orginal.0x260.jpg" with permission 644 another one with orginal name with permission 600 Sorry but I'm new to processwire
  4. But still I have the same issue I tried to upload from another external PHP file to the same directory "assest/files" and it is uploaded with "644" !!! Anybody can help?
  5. Thank you But my config file now like this: $config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire But after I upload new image I found 2 version of it : one named like :"orginal.0x260.jpg" with permission 644 another one with orginal name with permission 600 Sorry but I'm new to processwire
  6. Hi all When I uploaded any image it uploaded to "/site/assets/files/xxxx" path with permission 600 and return 403 forbidden when I tried yo access it or edit it Thank you
×
×
  • Create New...