Jump to content

Marty Walker

Members
  • Posts

    631
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Marty Walker

  1. In most cases I can convince a client that pooling images into a gallery is best done at the end of a page. But increasingly I'm getting requests to thread galleries into article copy. The times I've gone the hannacode route clients just roll their eyes with that "really?" look. And further looks of dread when I try to explain that 'image 1' is actually 'image 0'.
  2. Same problem here running PW locally under MAMP Pro.
  3. Thanks Marc. I'd just get him to sketch some scrambled eggs
  4. http://www.illustratorsaustralia.com/ http://quidditas.com.au/ - built for http://www.nomadgraphics.com.au/ http://nineteen23.com.au/ - built for http://www.nomadgraphics.com.au/ http://www.eatdrinkroyal.com/ - built for http://jacinabox.com.au/ http://selkiemoon.com/ - built for http://www.nomadgraphics.com.au/ http://everypicture.com.au/ http://otoshimono.org/ - design by the artist http://lovida.com.au/ - design by http://monodesign.com.au/ Cheers Marty
  5. For anyone interested this was the only way I could get it working. <? $page->of(false); $desc = $page->images_single->description; $page->of(true); echo $modules->get('TextformatterMarkdownExtra')->format($desc);
  6. @adrian I'm cropping to a smaller size (200,200). Plus, the cropped image displayed at a larger size (2x) when viewed on the front-end too. On 2.5.17 it doesn't behave like this.
  7. Hi Horst, I'm having an issue when I upload an image (I'm running PW 2.5.18) which doesn't give me the initial crop. Instead I get a scaled down version of the full image. If I attempt to make a crop I get a larger version of the crop I just made. Edit: When I rolled my install back to 2.5.17 it functioned correctly again.
  8. Hmmm. I'm running 2.5.18 and I can't get this working the way I need it to. Bold, italic etc works but I'm trying to add a link. I've tried Markdown Extra as well as owzims Parsedown textformatters and no go. [link](http://www.smd.net.au)
  9. I'm sorry if I've missed how to do this in this thread but is there any way to get rid of this horrible 'Link' popup when I go to edit a link?
  10. Posting this here as I'm using 2.5.17. If I go to save (I'm not cloning it) a PageTable field I get this error: Unable to clone field because name "" is already in use or is a reserved name.
  11. Hi, I'm using @soma's code below fine. How would I do a check so that I can only output images under a certain width or height? My attempt in bold. <?php function renderItem($pa) { $out = "<li>"; $out .= "{$pa->title}<a href='{$pa->url}'><img src='".$pa->portfolio_images->first()->getCrop('thumbnail', "quality=65")->url . "' alt=''></a>\n"; $out .= "</li>"; return $out; } $limit = 32; $artist_images = new PageArray(); $artists = $pages->find("template=portfolio, portfolio_images.count>0, limit=$limit, sort=random"); $found = $artists->count(); foreach($artists as $artist_images){ if($artist_images->portfolio_images->width < '1200' XOR $artist_images->portfolio_images->height < '1200') { echo renderItem($artist_images); } } if($found < $limit){ while($found < $limit){ $rp = $artists->getRandom(); echo renderItem($rp); $found++; } }
  12. Thanks very much for this Adrian. This has saved me hours of work today.
  13. All of my sites are on a cPanel VPS so I use the backup to Amazon S3 feature. From there they get shuffled off to Glacier. Previously I used http://www.cpanelbackupscript.com/
  14. Hi, I'm not even sure how to ask this question technically so here goes. I'm working on a home page that'll have a grid of images like this: But every so often I need to remove two of those images and replace it with an image twice the width and in a certain place, like this: Any pointers? Many thanks. - Marty
  15. I was with coda for ages but never looked back once I got the hang of ST2. I haven't bothered to upgrade to ST3. I briefly tried brackets and atom but ST still seemed snappier. It's all about what you're used to I suppose.
  16. Nice one Joss. It's very snappy to load from here.
  17. Many thanks. It installs fine now. When I go to the settings page I get this notice: Notice: Undefined index: cycle in /home/sitename/public_html/beta/site/modules/CronjobDatabaseBackup/CronjobDatabaseBackup.module on line 165
  18. Not that I know of but that's pretty cool.
  19. AIOM (primarily because I'm a LESS man) Batcher Import Pages from CSV Page Lister Pro Database Backups (because you just never know...)
  20. I get that too even when I have the required LazyCron module installed.
  21. Bravo Maxwell! I remember how I felt getting my first PW site out the door. It was a combination of relief and achievement.
×
×
  • Create New...