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

learn more… | top users | synonyms

0
votes
0answers
3 views

Use theme_image_style twice

I am trying to add different html class attributes to images based on what view they are being output with. I have created two image styles using the administrative interface, here are the two machine ...
0
votes
0answers
21 views

Imagecache Custom Actions - Imagemagick

I cannot get my imagecache custom actions to work at all? When returning $image in any way, it gives me an error, which can be resolved by adding in the first line here: if ...
0
votes
1answer
6 views

Ubercart thumbnail saving in sites/default/files - Its messy - How would I get it to save in a specified folder?

All of my ubercart thumbnail images are saving in sites/default/files and its getting way too messy. Is there a way I can tell them to save in a folder inside this directory? There is a media style ...
3
votes
1answer
31 views

Get image width for a styled image in module

In hook_node_load I need to get the width and height of a styled image, for a given fid. The image style has only height effect and the width is scaled and calculated by Drupal, so using ...
0
votes
0answers
19 views

Image style dimensions not always set in views

I'm displaying nodes with images as a field list with views. Image dimensions are not always set - the resulting <img> tag sometimes does not have the width and height attributes. I need those ...
0
votes
2answers
17 views

How might I display a field twice in a node using different field formatters?

Question: How can I show the field_showcase_headshot field both as a picture on screen and as a download link? Set up: From the load tab of Devel, I have a few fields on this node. The field ...
0
votes
0answers
29 views

how to show image style with private file system? 403 access denied error occurs

I'm working on a webapp and changed my public file system in to a private file system. Everything works fine, except my thumbnails created by image styles throwing a 403 Access denied error. Does ...
0
votes
1answer
16 views

Is there a way to delete/purge all generated image style images without re-generating them?

I'd like to delete all generated image style images without re-generating them immediately. I want to do this in order to remove them from my backups, because as the number of files on the site ...
0
votes
1answer
35 views

Problem with image file names containing utf-8 characters

I have a problem image file names containing utf-8 characters in my drupal website. When drupal has to display a thumbnail (image style) that contains utf-8 characters on it's image file, it fails. ...
1
vote
2answers
13 views

Drupal Image Styles

I have a Drupal site that has around 24 image styles defined. The problem I'm having is the files directory seems to be building up a huge amount of files. If I upload an image, does Drupal ...
0
votes
5answers
62 views

In Yosemite not able to generate the styles folder, I upload the project in a ubuntu test server, and it works

I know this is a question related to permission. The only thing I have changed in my environment is that I upgrade to Yosemite, I check apache everything is working fine. This question has been asked ...
1
vote
1answer
16 views

Wordpress Migrate Inline Images looking in wrong folder

I've recently used the Wordpress Migration module to bring over a lot of posts into drupal. The images get moved, and the text comes in fine. The problem is when the images get brought over they are ...
0
votes
0answers
13 views

Imagefield_crop : Can not crop more than one image

I'am using Imagefield_crop with plupload module, and i'am trying to crop multiple images in one page. The cropping is visible in the page however when i submit the form only the first image is ...
0
votes
0answers
22 views

Alter an image field using an image style rule

I have a Template file for a specific content type with several images, and to prevent the user from uploading more image sizes, I have an image style rule to crop out the image to 140x140 pixels. My ...
0
votes
0answers
17 views

Product thumbnail in custom block wont generate if on same product page

I have an issue with a custom module I have created to display contents of the cart in a popup. I appear to have it all working apart from the thumbnail image of a line item not generating if viewing ...
-2
votes
1answer
25 views

How can I edit the way the images are displayed? [closed]

For a course in university , we have to make a website in Drupal. The problem is, we don't know a lot of HTML and CSS (except for the information we can find on internet). So I don't really know how ...
2
votes
3answers
360 views

Access denied on image styles files on Drupal 7.34

As you can see in the screenshot below, images that are processed through image styles aren't showing up and when trying to display them through their urls, we get a 403 access denied. It's a fresh ...
0
votes
1answer
32 views

how to find image style url from themed image

I've a code which theme & print the original image to specific image style. print theme('image_style', array('path' => $node->field_theme_image[$node->language][0]['uri'], 'style_name' ...
-1
votes
1answer
58 views

Image styles not creating files [duplicate]

I am seeing a problem on my Drupal 7 site relating to image styles. A bit of background - This site was built by migrating the content and config from a previous site, using the Migrate and Features ...
0
votes
1answer
49 views

Theme based altering of default image-style for the same node-type and view-mode

OK, After some research and since Domain_views module seems to be a little bit buggy (printing always default Domain ID no matter what), I think this is the base question solving my problem the other ...
1
vote
1answer
154 views

How to use photoswipe script in Drupal 7

I want to use photoswipe script on my site to preview images. I downloaded the script, copied two JS files code-photoswipe-1.0.11.min.js and simple-inheritance.min.js. Include them in a file ...
0
votes
1answer
65 views

Conditional image style in Views

How can I apply different image style to an image field in Views, based on the condition of some other field of the same content type? I need to print the image with some frame, if some field ...
0
votes
2answers
70 views

Quantize/dither image using ImageMagick commands on image style actions

Is there a way to use custom imagemagick commands on a image style action. I'm trying to create a dither effect like the ones shown on the examples on the imagemagik site: ...
0
votes
2answers
29 views

do thumbnail image styles lower the page load

This may not be a Drupal specific question, but when I use image styles to resize from a full to thumbnail size, will the page load still behave as if its a hiqh quality image, or does it lower the ...
0
votes
0answers
115 views

Image styles not being created ( sometimes )

I am creating a node programatically which has an imagefield with 16 images attached. Each image is a blank PNG of about 1000px by 768px weighing in at about 5KB. The node displays fine. On a ...
0
votes
1answer
103 views

How to avoid Exif data rotating images automatically after upload?

an image has been taken upside down, then rotated with any software, then uploaded to my Drupal website and it shows how it was originally taken because it read the Exif metadata. Is there a way to ...
0
votes
1answer
31 views

Content Field Type Image not auto resizing

I am fairly new to Drupal, I am currently working through Tom Geller's excellent video series on Lynda.com. All is going well, except I am having a problem when trying to set display properties for ...
0
votes
0answers
116 views

Warning: Invalid argument supplied for foreach() in image_style_create_derivative() (line 902 of image/image.module)

I'm uploading my images to Rackspace cloud CDN using the following code: <?php if (!empty($entries)) { foreach($entries as $value) { $container_id = $value['cid']; $nid = ...
1
vote
0answers
68 views

Programmatically select image style for use with custom file entity view mode

I have created an empty custom view mode for file entities with hook_entity_info_alter(). I would like to programmatically select settings for it, so that they can be deployed without a user having ...
1
vote
1answer
36 views

Store only a resized version of an enormous uploaded image

I have editors uploading images the size of 3.8MB. I don't want to lower the maximum size for image/file upload (it's set to be 5MB), that's because I use core Image Styles ...
0
votes
3answers
130 views

Image style scale and crop not formatting right

I had a scale and crop image style created, but I had to move it to code. So, to re-create it, my code is: function mymodule_image_default_styles() { $styles = array(); ...
0
votes
0answers
23 views

7 picture doesn't generate images emidiatly

I have a site with picture installed. When a user access the site with a device where image styles are not created yet the user has too refresh the site to see the image. How could I force the theme ...
3
votes
4answers
342 views

How can I create unique path alias for image styles?

image_style_url returns the public url of an image in the files/styles folder. Is it possible to create alias to that? What I want is the following: Call image_style_url from the image style and the ...
0
votes
2answers
70 views

image style not applied porgrammatically

I create below function to create image style programmatically function imh_get_image_from_uri($image_uri, $style) { $derivative_uri = image_style_path($style, $image_uri); $success = ...
0
votes
2answers
130 views

ImageStyles does not create thumbnail image while uploading large images

I try to create a website using Drupal on a shared host, everything goes fine except ImageStyles. When I try to upload large images (more than 1MB) thumbnails does not created , but works fine with ...
1
vote
1answer
146 views

Apply CSS and Javascript affect to images [closed]

Updated I am trying to add CSS and Javascript hover affect to some images in drupal 7 .. something like in this tutorial. http://callmenick.com/2014/03/06/image-overlay-hover-effects-with-css3-t ... ...
0
votes
1answer
204 views

Drupal Commerce Kickstart cloud zoom image not working?

I am using Drupal commerce kickstart. I want to show the thumbnail images. I am using custom html theme in my project. How to show the thumbnail image in product page? Please anyone guide to me.I am ...
1
vote
0answers
81 views

Warning: unlink() expects parameter 2 to be resource, string given in drupal_unlink() (line 2194 of /includes/file.inc)

I'm using drupal_unlink() for deleting my files, but don't know why I'm keep on getting this error repetitively? Warning: unlink() expects parameter 2 to be resource, string given in drupal_unlink() ...
2
votes
1answer
266 views

CDN Module and Image Styles

Yesterday I installed the CDN Module using Amazon Cloudfront and magically everything worked as expected. I was quite happy. This morning I was showing off my new improved CDN enabled website to a ...
0
votes
1answer
40 views

Resize Image for more than one Image Size profile automatically

Here is my problem. I have field BigPicture in a my Product Content Type. Is there a way that When I upload an image from BigPicture Field that the current picture automatically resize in more than ...
-1
votes
2answers
909 views

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32598429 bytes)

I'm new to drupal. I was uploading multiple files to a page and then tried to increase size of the page. However when doing so, I got this error. Fatal error: Allowed memory size of 134217728 bytes ...
0
votes
1answer
174 views

Drupal 7 Image Style not working for larger size image

I am working on a drupal 7 site http://imgmart.com where I have defined multiple image styles. I have a content type called gallery with image cck field. Everything works fine if I upload image of ...
0
votes
2answers
46 views

styles unlimited value image fields

I use unlimited values for image field in a content type, then the images displays one below the other : Is there a way to render this field differently ? For example every line show me only three ...
0
votes
0answers
66 views

Is it possible to add an image watermark to an image with a condition based on field values of a node?

I am currently using imagecache_actions to add an image watermarks to the images I upload. So far everything is working fine. What I am currently doing is just to simple add the site logo to the ...
0
votes
2answers
21 views

Adding an Image Style

I'm new to Drupal, and I'm attempting to add an image style to a Basic Page in the "Manage Displays" area. After savings, there is no effect with the images on my basic pages (i.e. the image style was ...
0
votes
2answers
53 views

Applying image style to authors pictures in comments without preprocess function

Is there anyway I could apply an image style to the user picture in comments without using a preprocess function (YOURTHEME_preprocess_user_picture?) The reason I ask this is because the preprocess ...
0
votes
0answers
82 views

Selling images with commerce at different resolutions and prices

I would like to sell photos and charge based on the resolution chosen like the usual stock photo sites do. I think the ideal solution would be to set the resolution as a product attribute and then ...
-1
votes
1answer
35 views
2
votes
0answers
193 views

image alignment of uploaded image in WYSIWYG

Sorry if this is an easily solvable question but I am struggling to get to grips with Drupal (this is my first attempt with this cms) I am using Drupal 7 and have installed CKEDITOR (as well as ...
0
votes
1answer
87 views

Image style not loading on first load

I have images of a certain image style that only show up after reloading the page. I can see the image created in the style directory after the first page request. Its like the browser is not waiting ...