Questions tagged [image]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

Image Transforms - Image not processed until second page refresh

I'm new to Craft, and am not sure whether I've got something weird happening or if what I'm experiencing is expected behavior. I notice that when I add new entries containing image assets that get ...
2
votes
0answers
261 views

Can I change the image position dropdown in Redactor?

I want to change the image position dropdown in the "Edit Image" window or add a new one that give me a different way to control image position. Rather than having this dropdown change the float, I ...
2
votes
2answers
1k views

User defined crop / crop modal for image assets

Is it possible to have "user defined" crop areas (drag and crop) for upload assets of type image? What I had in mind is something exactly like craft has in the Admin > Settings > General Settings > ...
0
votes
1answer
372 views

Upload user profile image from custom plugin controller

Im trying to upload a profile image from a front end form via a controller function this is what i have but the $image keeps returning null? <form name="updateProfile" method="post" enctype="...
4
votes
2answers
825 views

Is there a way to read IPTC, EXIF or TIFF Metadata in an Image uploaded to Assets?

I'm trying to see if I can get the Date Created on images within an image upload. Not the date the file was created, but the date the picture was taken. If I open an image up in Preview, in the ...
1
vote
1answer
519 views

Server requirements for uploading large images

I'm experiencing the problem that I can't upload large images. Very similar to this problem: Craft CMS max image resolution? But I couldn't solve the problem so far. My first question is: Where do I ...
1
vote
1answer
2k views

Displaying Sub Categories on Category Page

First, a disclamer -- I am new to Craft CMS. With that said, I am trying to create a category page whereby the page will show the title, description and image of the sub-categories of the current ...
0
votes
1answer
1k views

Animated GIFs not animating - sometimes

I've had trouble getting animated GIFs to transform properly on my Craft site. I've installed Imagick on my server, and set $imageDriver to imagick explicitly. This seems to have allowed some GIFs to ...
2
votes
1answer
2k views

How to output a resized Assets image in a template

How can I output a resized Assets image in a single entry template? I'm trying to do what I used to do all the time with CE Image in EE. I'm hoping that I don't have to create an image transform in ...
1
vote
1answer
919 views

Display images from Structure

I have a Structure section (galeriesPhotos) with two Entry Types: Albums - the categories on the index.html page Photos - the the actual gallery on the entry.html I'm trying to display the images ...
0
votes
1answer
1k views

Unable to upload PNG images

I'm running Craft CMS on OS X Yosemite (Server.app) and cannot upload PNG images. JPG uploads are working as expected. I get a log message like the following: 2015/01/15 08:39:08 [error] [exception....
1
vote
1answer
358 views

Performing Image Transformations Locally

Is there any reason why image transformations might not be working locally? I just get a bunch of these "http://site.dev/cpresources/transforms/7 404 (Not Found)" as error messages. The image ...
0
votes
1answer
3k views

Image asset not being displayed

This is my second website I am building with craft cms and I have no prior experience with Twig. I have had a particular issue with echoing image assets from a singles entry. The line I copied from ...
3
votes
1answer
757 views

GIF animations garbled and static

When I upload animated gif assets to a Craft site, they end up static and corrupted, as so: (Original here.) My guess is that what's displayed is the last frame of the animation (which only contains ...
0
votes
1answer
108 views

Image in entry only showing when using entry.image instead of entry.assetFieldHandle

I discovered that I can replace: {% for asset in entry.assetFieldHandle %} {{ asset.url }} -- {{ asset.width }} -- {{ asset.height }} {% endfor %} From assetFieldHandle to the name of the handle ...
2
votes
1answer
143 views

Combine image assets widths to get total width

How can I check if multiple asset image widths combined are wider than X? So how do i get X? Like this: File 1 = 300px wide File 2 = 200px wide File 3 = 250px wide x >= 750px than<br /> ...
4
votes
1answer
303 views

Grab and save image from url to Craft?

I have a cool upcoming project which its content will heavily depend on external images. Although I'd like to get rid of WordPress for this project and would love to use Craft, WP has a great plugin ...
1
vote
1answer
959 views

Getting error in template: Impossible to access an attribute (“getUrl”) on a NULL variable (“”)

This was working fine previously and not sure what triggered the error. Any idea how to resolve issue? {% for block in entry.servicesItems.type('images') %} <div class="col"> {# ...
1
vote
1answer
408 views

How to upload several images & automatically create an entry for each one?

I have more than 1000 images that I want to upload on Craft. Is there any way to bulk upload all the images and automatically create one entry for each one of them? Including their fields, like ...
2
votes
2answers
444 views

Is it possible to add white background to transformed images?

For a client eCommerce project I am working on all the product images are on white backgrounds, so they blend nicely with the background of the site. Currently I am putting all the images through a ...
1
vote
1answer
395 views

Preserve ICC color profile on image transformations

Is it possible to configure Craft to preserve the ICC color profile? I did test JPG images saved in "sRGB IEC61966-2.1" profile and the files returned from Craft transformations are always saved in ...
1
vote
0answers
53 views

Image transformations inside body field [duplicate]

When including inline assets inside a rich text field is there a way to do trigger image transformations to include a different version of the photos that are embedded (thumbnail, resized etc.)?
0
votes
2answers
826 views

Updated Image Transformation [duplicate]

Aside from Defining Transforms in the template (http://buildwithcraft.com/docs/image-transforms) is there a way to go back and trigger an image transformation? We've got a number of assets that have ...
2
votes
1answer
338 views

Image transform that only crops if image is larger than set dimensions [duplicate]

At the moment I have an image 300px wide, my transform is set to a width of 600px so it upscales it. I would like it to only transform if the image is over 600px. Is this possible or should I use ...
9
votes
1answer
11k views

Fetch Image URL from entry CMS

This seems like it should be really simple. I set the field for an image asset, linked it to the entry type I want it associated to, and then uploaded the image in the cms to the folder I specified. ...
3
votes
1answer
348 views

Plot absolute coordinates / Image map

I have a site where I want to set up a "tour" of a software screenshot, and I need to allow users to select points on an image to insert the tour "stops". Is there an add-on like DevDemon's Entry ...
6
votes
1answer
525 views

Is 'real crop' a possibility?

Ok, this is the first time I need this, but here's my question: If crop is selected for a transition, what you get is a scaleAndCrop. Is there a way to do a 'real' crop, so no resizing before ...
3
votes
1answer
1k views

Asset thumb missing

I have a problem where some image assets do not produce thumbs. It seems Craft has an issue generating the thumbnail of large images (in pixel-values, not filesize). Does anyone know if this is a ...
3
votes
1answer
478 views

How would I list assets from a specific subfolder?

In the case that I have an asset folder structure like this: /images /group-a /group-b /group-c How would I loop through all of the images in /group-b without having to assign them to ...
1
vote
0answers
226 views

Images added with transform in Redactor field causing Internal Server Error [closed]

Adding images with a named transform in a Redactor rich text field is causing an Internal Server Error on save: Object of class Craft\ElementCriteriaModel could not be converted to string ...
24
votes
3answers
7k views

How can I automatically generate responsive images from a single hi-res asset?

I want to be able to upload a single high resolution image, and output a <picture> element that outputs it with a few different sizes and resolutions automatically (using Picturefill to sort out ...
4
votes
1answer
317 views

How can I upload separate 1X and 2X images?

I want my site to serve 1X and 2X images depending on the browser using something like Picturefill, and I don’t want the 1X version to just be automatically generated using a transform - I want to be ...
9
votes
1answer
703 views

Is there a way to find out if images (assets) are landscape or portrait?

In a current project we will list entries in a masonry-style grid view where the entry’s respective cover image should be styled differently based on their image format. Landscape vs. portrait and -- ...
4
votes
1answer
474 views

How do you output images without “?mtime” at the end of the url?

For some rss readers they have issues with the images having "mtime" at the end of the url. Is there a way to output an image without this?

1 2 3
4