Search the Community
Showing results for tags 'beginner portfolio'.
-
Hello all, Another day, another thread! 😅 So I'm building out a portfolio site bit by bit, and trying to learn how ProcessWire works for clients in the meantime. Below is a screenshot of what a project page might look like. The project header is made with a project repeater and some txt fields. Below this is another repeater (sections) - that's where my project images live. What I'd like to make: a curated gallery page (like a photographer's portfolio page) where I can manually choose images from across my project pages to be displayed in a masonry style layout (e.g. like Masonry.js https://masonry.desandro.com/) I'd like to avoid duplication or double uploads - I'd like to reuse existing project images and keep my setup as fast/light as possible Clicking an image on the gallery should link to the related project Ideally without resorting to third party solutions - could image tags be used like an image reference? I've read a discussion on community requests for something like an image reference field (which would be great) but it looks like this isn't natively supported in PW yet: https://github.com/processwire/processwire-requests/issues/207 I'm wondering if I could use PW's built in image tags or something and then display all of those on a gallery page layout. But I'm not sure if I could grab the related project page links through tags alone? Fyi, I'm also using the PageimageSource module to keep things efficient. https://github.com/nbcommunication/PageimageSource Beginner here, so maybe I'm thinking about this the wrong way. Would be nice to hear your thoughts. Thanks!
- 2 replies
-
- beginner portfolio
- masonry
-
(and 3 more)
Tagged with:
-
Hi there, I'm coming from ExpressionEngine and giving PW a try. So far I'm very excited and PW could be my next main cms. I'm rebuilding my portfolio-site with PW at the moment. So I have these pages: Home --- Portfolio ------Portfolio item #1 ------Portfolio item #2 ------Portfolio item #3 On Portfolio, I want to list all latest Portfolio items. I did it with: <?php $latest_portfolio = $pages->get("/portfolio")->children(); foreach($latest_portfolio as $item) { echo "<div class='span3'><article><a href='{$item->url}'>{$item->title}</a></article></div>";} ?> So it list all my titles. But each item has a "portfolio_image"-field with one big image. So how do I output these image as an thumbnail in my code? Further I tried to code a detail-view for each item. But my big image is not gonna to display: <h1><?php echo $page->title; ?></h1> <?php if ($page->portfolio_image) { $image = $page->portfolio_image; echo "<img src='{$image->url}' alt='{$image->description}' />"; } ?> Title is fine but not the right image-url. It output " site/assets/files/1014/ " and not "site/assets/files/1014/image.jpg" What did I wrong?