Jay Beginner

  • Member since Jan 25th 2019
  • Last Activity:
Posts
9
Points
65
Profile Hits
18
  • Jay

    Like (Post)
    To add my thoughts:

    - Clients have been worried to Undo as it's such an immediate action, and there's no way to redo.
    - Be nice to view full revision history from the actual edit page (as Hussein mentions)
    - It'd be shame to lose it all together, but I…
  • Jay

    Post
    Hmmm ok, most of the time I _do_ want a compressed version though since I can never rely on clients to do so.

    Good to know what I'm dealing with though—thanks.

    Someone in the Slack group suggested that I set the resize dimensions slightly off e.g.…
  • Jay

    Post
    Thanks for the tip, Matt :)
  • Jay

    Post
    Err thanks for the reply but that is not my question!
  • Jay

    Thread
    I can only assume this is intended behaviour but I've found that if I upload an image that does NOT need to be resized, Perch seemingly will NOT compress the image when generating a version of it.

    e.g. if I upload a file at 4000px by 1460px, and I have…
  • Jay

    Replied to the thread Detect Image Orientation.
    Post
    So sorry for the delayed response—I realised I hadn't turned on email notifications for the forum!

    Thanks for the suggestions. I finally figured this out, the solution was something like:

    if($this->content['photo']['w'] > $this->content['photo']['h'])…
  • Jay

    Post
    That worked great, thanks!
  • Jay

    Thread
    Can anyone help me to modify the Perch Kraken app with the lossy argument? https://kraken.io/docs/lossy-optimization

    I believe I'll need to modify the code in the app.

    I tried adding `"lossy" => true` to line 62 in `kraken.class.php` but it doesn't…
  • Jay

    Posted the thread Detect Image Orientation.
    Thread
    Is it possible to detect whether an uploaded image is landscape or portrait?

    My aim on the front-end is to change the CSS grid column span of the item if an image is 'landscape'

    I've tried using Template Filters, composite field, and even thought…