Jump to content

Search the Community

Showing results for tags 'beginner portfolio'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. 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?
×
×
  • Create New...