fileupload в Тейлоре?
                      
                      
                      
                      
                      
                      вроде все по гайду делаю, как в доке:
                      
                      
                      
                      
                      
                      <?php
                      
                      
                      // Find the Blog Post model again
                      
                      
                      $post = Post::find(1);
                      
                      
                      
                      
                      
                      // Look for the featured image address, otherwise use a default one
                      
                      
                      if ($post->featured_image) {
                      
                      
                          $featuredImage = $post->featured_image->getUrl();
                      
                      
                      }
                      
                      
                      else {
                      
                      
                          $featuredImage = 'http://placehold.it/220x300';
                      
                      
                      }
                      
                      
                      ?>
                      
                      
                      
                      
                      
                      <img src="<?= $featuredImage ?>" alt="Featured Image" />
                      
                      
                    
path просто попробуй
.getPath() тоже пустоту вернул
Обсуждают сегодня