We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Image Manipulation Not working

How Do I?

bbailey's avatar
bbailey
5 posts
4 years ago
bbailey's avatar bbailey

I have a bunch of image manipulations declared for each upload directory but none of them seem to be working. I want my uploaded images to be a certain size depending on where they are being displayed. Attached is an example the setup I have.

Note: I have tried the constrain and the crop and neither seem to be working. I’m not sure what I am doing wrong.

code Example within the Exp loop:

_ {mission_images}{mission_images:mission_image:listing}{/mission_images}_

An Image displays but it is the original image not the image manipulated one that should be created on upload.

       
benoitlemay's avatar
benoitlemay
24 posts
4 years ago
benoitlemay's avatar benoitlemay

Hi there, Are yo using the File fieldtype or File Grid?..
If your field name (File filedtype) is {mission_images} did you try {mission_images:listing} ?.. (single tag and not inside the {mission_images}{/mission_images}?.

Please provide more details on your fieldtype type..

       
bbailey's avatar
bbailey
5 posts
4 years ago
bbailey's avatar bbailey

I am using a regular Grid Fieldtype. My field name is mission_images. Can I only use image manipulations in file/file grid types?

       
Rob Allen's avatar
Rob Allen
3,105 posts
4 years ago
Rob Allen's avatar Rob Allen

I’m assuming:

mission_images is the name of your grid field

mission_image is the file field inside the grid

{mission_images}
  {mission_images:mission_image}
    < img src="{url:listing}" width="{width:listing}" height="{height:listing}" alt="{title}" >
  {/mission_images:mission_image}
{/mission_Images}
? 1
       
bbailey's avatar
bbailey
5 posts
4 years ago
bbailey's avatar bbailey

Rob, thank you that works perfectly!

? 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.