Jump to content

zilli

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by zilli

  1. Thanks Peter. I don't have a use-case now, I was just wondering how to do it. I just read the API docs and I'm starting to connect the dots. Thank you.
  2. Hello @Soma Yeah.. it worked. However, now I'm confuse. I'm just following the tutorial But what if I don't know how to code?, and I didn't create any other image field. Now I'm imagining how do I build a page that will display several images? You talked about array (and I believe that the 'first' is the array index, right?). Could you give me more details? Thank you a lot for your help.
  3. Hello everyone! I’m starting my PW journey and I’m enjoying it so far However, I’m having the exactly same problem as posted here https://processwire.com/talk/topic/10073-image-not-showing-up-in-tutorial/?hl=%2Bimage+%2B403 I’m running MAMP 3.2.1 on OSX 10.10.3 The issue is that the image doesn’t load on the page. It just gives me a broken link. If I click on the broken link I get: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /site/assets/files/1015/ on this server.</p> </body></html> Here is my PHP code: <img src="<?php echo $page->promote->url; ?>" /> And my field to showed that I used the same name for it. More info: I changed the assets/file permissions to 777. It didn’t work. I changed MAMP user. It didn’t work. There is no error.txt under logs folder. There is no mod_security module. I hope I can get some help here. Regards, Daniel
×
×
  • Create New...