Image styles refers to the display and crop styles of images uploaded using image fields.

learn more… | top users | synonyms

0
votes
1answer
21 views

How do I change the image style for avatars displayed in comments

I'd like to use a custom image style for the comment avatars, but I don't know where the setting in Drupal is to change it. I thought if I changed the user image style at ...
0
votes
0answers
7 views

User:Picture with an image style other than default not showing in Views block

I have a Views block that displays registered users. The profile picture (User:Profile) of users does not get shown when I select any image styles other than default. This only happens with users who ...
0
votes
1answer
31 views

Change teaser image size

I've noticed that the article images are sized to a width of 220px to be displayed in the teaser on the frontpage in Drupal 8. I'm wondering how to change that to 300px, for example. I created an ...
2
votes
1answer
127 views

Get an image with style url from an URI in twig

So thanks to 4k4 I finally managed to get my original image URI in a field template via item.content['#item'].entity.uri.value and with {{ file_url(item.content['#item'].entity.uri.value) }} I ...
4
votes
3answers
41 views

Display particular Image Style for image based on Role of User?

Using ImageCache Actions there are 2 different Image Styles - e.g. S1 and S2. What needs to happen: User A has Role Y and when s/he views a node/user profile should always be presented with S1 ...
0
votes
2answers
36 views

Drupal can't create image styles for files located in theme directory

I have an image located in sites/all/themes/mytheme/images directory. I'm displaying it programmatically with attached image style like: $style = array( 'style_name' => 'my_style', ...
0
votes
1answer
25 views

Services 3 File upload, create/return image styles

Ahoy all! So, long story short, I'm uploading files to drupal through services from an angular app, and getting a response/url/etc no problem. My question is, how do I enable image styles to be ...
0
votes
1answer
33 views

Image style in views field template on image

I'm struggling with a piece of code in my views field template. A short overview of the situation: Node product has a field with filename for an image Images are added with filezilla in ...
1
vote
1answer
44 views

Broken file derivatives when creating an article

I recently installed Drupal 8 to familiarize myself with this platform. I've noticed that, whenever I create an Article, and attempt to upload an image for that article, the styles created from that ...
0
votes
1answer
18 views

Images show up once, then have to clear styles folder to see again?

So I'm trying to get a site setup with a template (global news), which requires Drupal 7.x, so I'm using 7.41. Anyway, I have all the modules set up and the general layout as it should be. However, ...
0
votes
2answers
163 views

Use responsive images inline

I can see that using styles on inline images have been left out for some reason. But when I need to make the site behave a little more responsive. I have been looking after CKeditor plugins that ...
-2
votes
1answer
33 views

Whats the impact of changing image styles and jpeg compression

I've inherited a 10-year-old image-heavy (tens of thousands of images) Drupal 7 site. I'm moving the site to a full-width grid, and before I break anything, would someone be able to tell me what ...
0
votes
0answers
28 views

How does drupal manage image styles? [duplicate]

I'm building a website and several image styles are created in there. I know that for every image style, an instance of images that are using them are created. Many of the images in my website are ...
3
votes
2answers
54 views

Can I automatically regenerate all images after using Drush image-flush?

I used drush image-flush to delete all generated image style images on my site. I know that image style images are automatically regenerated when you try to view them in a browser, but is there a way ...
0
votes
0answers
17 views

Stage file proxy and ImageCache oddity

Got some weird issues with stage file proxy and generating thumbnails: When stage file proxy is enabled i can download all the files from remote server but i cannot generate any image styles. When i ...
0
votes
3answers
57 views

Aplying image styles to images return 404 for images

When image styles are aplied to images the modified images are not created and the image url returns a 404 error. I've been checking for solutions and none worked for me. I commented the Options ...
0
votes
1answer
42 views

Allowed memory size of 134217728 bytes exhausted in system\image.gd.inc reported for styled images

There is a content type in my website that has an image field. Some contents have images that are larger than 20MB. I created an image_style called fp which scales and resizes the images in ...
0
votes
1answer
20 views

How do you force Drupal to re-render images?

I have an image style. It's defined as requiring images which are 60x60, however all of the images it's created are 500x500. This is a screenshot of the image style definition: ...
0
votes
1answer
31 views

How to NOT change the path/uri after applying a style?

I'm working on a module. It uses an API to serve images. One of it's features is calling for a custom resolution image by GET request. So for example myapi.com/img4324342?w=22&h=55. I'm ...
0
votes
2answers
37 views

How to (ab)use image effects to serve API generated images?

I made code to add a custom effect using hook_image_effect_info() that does not alter the image for real. I'd like to serve an image from my own API instead, that has calls like ...
1
vote
0answers
63 views

How to get the Collage Formatter module to work?

I'm using the Collage Formatter module (Drupal 7) to create a gallery. But I seem to have a problem when I apply the Collage Formatter image style. When the image is smaller the colorbox doesn't ...
0
votes
0answers
22 views

Override drupal image_effect_info() behaviour to return image from API based on form

What I have hook: (this gets called) function module_name_image_effect_info() { return array( 'api_effect' => array( 'label' => t('blabla'), 'help' => ...
0
votes
1answer
20 views

Where is name defined in image_effect_info_alter(&$effects)?

function my_module_name_image_effect_info_alter(&$effects) { $effects += array( 'whatever' => array( 'label' => t('blabla'), 'help' => t('Everything ...
0
votes
0answers
29 views

Image styles - not functioning properly after migration

I have just created a site serving as an online gallery. In the gallery the user can create an album and add images to this album. Originally when I am working on my localhost the image styles are ...
0
votes
1answer
30 views

Why do images rendered with image_style_url disappear on iPhone?

I use "image_style_url" to render images in node template. Everything works fine on web browsers. However, these images disappear on iPhone. Here is my code: <div class="porDetCarousel"> ...
1
vote
1answer
61 views

Adding image file at /admin/content/media returns a 403

I am trying to upload image files at /admin/content/media, the files are getting uploaded but they are not previewed properly i.e., a 403 is returned. I have set "Default download method" as 'Private ...
1
vote
1answer
35 views

Conditionally change the image field style and wrapping it in a div

The Article content type has been classified by taxonomy vocab Topic, where each Article's node has one topic. For some usability and design requirements, I want Articles belongs to a specific topic ...
1
vote
1answer
64 views

Create picture module responsive styles programmatically

I could not find any documentation anywhere on how to programmatically create a new picture module responsive style set so am adding what I've discovered here.
0
votes
0answers
20 views

Cannot display image thumbnail when uploading photo

I am doing everything by examples, but can't display my custom theme for displaying thumbnail when uploading images: function act_profile_page() { $form = ...
1
vote
0answers
24 views

Refresh Image Style in Drupal Commerce on Add To Cart Attributes Refresh (D7)

I'm building a t-shirt website, and I'm looking into having the customer be able to choose certain shirt attributes such as hoodie/t-shirt, shirt color, etc. Using imagecache actions, I've looked ...
0
votes
1answer
19 views

Generate image style from existing one instead of original image

How can I make Drupal to generate image style from existing style, instead from original image. For example, original image is 3000x2000. I have a style medium (1000x700). And then I need a style ...
1
vote
0answers
83 views

Add media in CKeditor and image styles

The above screen shot is from Add media button in the CKeditor of drupal article content, and after selecting an image from the library. What I need to see in this window is a list of drupal's image ...
0
votes
2answers
67 views

(Views) How to style an image field conditionally based on term

I have a Drupal website in which there is a content type named Article. In that content type, there is a taxonomy field called "Topic" which is term reference field pointing to a vocabulary called ...
1
vote
1answer
37 views

Alter all images styles to add a particular effect before all others?

I just downloaded the manual crop module: https://www.drupal.org/project/manualcrop It must be added as an image style effect before it is applied. I would like to apply it to all image styles ...
0
votes
1answer
41 views

Facebook images timeline block

Is there a module and/or jQuery solution how to show multiple images in a block like the Facebook gallery on people's timeline? The images are always well aligned regardless of their size and ...
1
vote
1answer
156 views

Thumbnail generation with nginx reverse proxy

I'm using nginx as a reverse proxy for a Drupal 7 site running on Apache2. When I try to view a thumbnail I get the Drupal 404 page saying that the location is not found. I have implemented the ...
1
vote
0answers
11 views

Display inline images with specific image style

Is there some way to get inline images (inserted with Media/FCKEditor) to be displayed in a specific image style? I can only get them displayed in the original format. I have tried the Picture ...
0
votes
3answers
55 views

Image Style Issue Doesn't Work Every Time

I posted a previous post about this, but it kind of went a different path, so in the interest of exploring another avenue I wanted to start a new topic to try and troubleshoot this a different way. ...
0
votes
1answer
55 views

fields with Image styles only showing placeholder

I've got some images that's set to be shown in specific image styles. They appear fine on each node but in teasers and views I only get a placeholder. The console in Chrome's inspector says: ...
2
votes
1answer
68 views

Pass a logo to image module

How do I pass the logo on my theme to the image module to create different sizes? I'm using domain access to I can't use <?php print theme('image_style', array('style_name' => 'thumbnail', ...
0
votes
1answer
22 views

My slider's images have larger file-size than their originals

I have a slider in my homepage and this slider has 3 photos named a.jpg, b.jpg, and c.jpg. The original file's sizes are (respectively), 42kb's, 20kb's, 52kb's. And yet when I download them from my ...
0
votes
1answer
30 views

Is there an easy way to serve low quality images for low-bandwidth users?

I'm designing a site that wants to use lots of images, but while some users will be on broadband, other user groups will be on dial up or similar. Is there some trick/module that can serve lower ...
0
votes
1answer
38 views

Is there any way not to use the Drupal Image-style system?

I upload mainly light images (around 40 kb's) to my site and also want to save room on my server and don't use 4 different folders for images --- is there any way to avoid using the Drupal image ...
1
vote
2answers
78 views

How to delete or autodelete unused images in a Drupal site?

Every time I remove or replace an image in my Drupal 7 site (via image-field or CKeditor) it remains stored in the site's folder (x3 times at least for every style). Almost always it takes me about 3 ...
-1
votes
1answer
28 views

Images in pages in my drupal site takes much to load - and my Google PGI ranks became bad

The problem: My Drupal 7 site's articles has 1 photo at least each, and each one is high res png (or jpeg); otherwise they just don't look good in most cases. I have tens of pages so it's not very ...
2
votes
1answer
50 views

Applying image style to Privatemsg

Drupal 7: Privatemsg. The following statement, when included in the privatemsg-view.tpl.php template prints the author's picture: print theme('user_picture', array('account' => ...
0
votes
0answers
54 views

Combine JAIL (LazyLoad) and adaptive images in Views?

I have both the JAIL and the Client-Side Adaptive Image Formatter modules installed on my site but I can only use one at a time within a given view, since they are each a choice for image formatter ...
1
vote
1answer
218 views

Render scald atom with image style, without new scald context?

We have a field or type "Atom Reference", that references scald images. I want to render these in a node display, using an image style. For this we need a formatter that will render the scald atom ...
1
vote
0answers
20 views

Image doesn't exist after I “theme it”

Trying to theme image for the first time. Both file and image_style '200x200' exist. In page source code I see this url: ...
0
votes
1answer
73 views

Default image is not generated

I have a case content-type that has an image_field. I have configured the field to use a default image in cases when no image is upload for a case. I then try to render the image using the following ...