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

learn more… | top users | synonyms

0
votes
0answers
26 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 ...
0
votes
0answers
10 views

Thumbnails not being generated from symlinked directory

We have set up a symlink that points outside the webroot. The symlink points to a directory that contains images. The images are accessible on the site, but Drupal is not creating thumbnails of the ...
1
vote
1answer
19 views

Can you get the itok value programmatically?

I appreciate the 7.20 security measure that requires a itok parameter for generating new images, but I need to expose that to Services / AJAX driven projects. Can you get the image token ...
0
votes
1answer
30 views

image_style_create_derivative not resizing the image

I am using image_style_create_derivative to create image styles on fly. Before that I am using image_style_path which creates style path. $derivative_uri = image_style_path([style_name], [source]); ...
1
vote
1answer
26 views

Is there a non-WYSIWYG-module that lets me use Media ver. 2 images with multiple image styles?

I have a library of images that I access for reuse via the Media (ver. 2.0) Browser and attach to nodes using the file field. When I use an image inside a node, I want to indicate a specific Image ...
0
votes
0answers
21 views

Webform: display image uploaded by user

I'm completely lost on how I could display an image uploaded by user on my webform... What I'm planning to do is multistep webform that is also an order form. It has only filefield upload on first ...
0
votes
1answer
21 views

Drupal in subfolder, clean urls and images (htaccess not quite right)

I have my Drupal installation in a subfolder and it's working ok, but there's one problem. New images can't be generated from image styles unless clean urls are turned off. This is my .htaccess in ...
0
votes
1answer
26 views

Images Not Uploading to sites/default/files/*

I transferred my website to a live hosting from my local computer. Now the image files don't seem to upload to the correct folders. The images that I added while the site was local appear fine, but if ...
0
votes
0answers
9 views

custom styles of images

I have defined custom styles for images, but the image is displaying with its original size. Below what I have done:product_category_image is my custom style $image = ...
0
votes
1answer
32 views

Image style don't create thumb image and it get error “Division by zero”

My site is Drupal 7.36 Image style cann't create all images and it get 2 error messages Division by zero in theme_image_style_preview() (line 804 of ...
0
votes
1answer
30 views

Image Styles not creating on one custom style only

I've run into this issue where we have created a custom style (emailthumb) which is to be used when sending out email newsletters via simplenews. The thumbnail is based on 'thumbnail' style but is ...
0
votes
2answers
34 views

Using Views and adding ALT and TITLE to an image

I've been attempting to add my node Title to the image ALT and TITLE fields during their output in a view. I am using the Media module to mange my images, and I have included the image_url_formatter ...
0
votes
0answers
20 views

How to change image size in flexslider?

I have used flexslider. How do I change the image size? I have tried changing size of using image style that flexslider creates. It just reduces resolution.
0
votes
1answer
22 views

How to add diffent makers on the image

How to add a marker in different part of the image (please look at the attached photo), There is a module Imagefield marker which is not working. is there any other similar module? Thank for the ...
0
votes
2answers
38 views

Theming user pictures

Trying to theme user pictures, in the following statement: print '<a href="' . $base_url . '/user/' . $friend_id . '" ><img src="' . _drupal_wall_user_profile_picture($friend_id) . '" ...
0
votes
1answer
31 views

Unable to display images after Drupal Update

I recently updated my site to Drupal 7.34 using these instructions - https://www.youtube.com/watch?v=_uDTyzE47pQ After update, I am not able to see the images in the site. All I see is the ...
0
votes
1answer
28 views

Views different image styles depending on URL

I want get very close Views results, but image style should differ. It should be done by using different URLs or Views arguments. How I can reach that? UPD: final solution: /** * Return actual ...
2
votes
2answers
142 views

Where do I add imagemap in drupal 7

I'm using marinelli theme and the rotating images. Now, I'm looking to add usemap to some of the images, as the images are rotating images and are not within a specific node. Moreover, I'm adding the ...
1
vote
1answer
21 views

What is the best way to alter image style in view for a teaser

I have an image style set for all my nodes for teasers. There is one view that I need it to display differently. Is there a way I can alter in code? I know that I can just change my setting from ...
0
votes
1answer
18 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
1answer
38 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
11 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
45 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
28 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
24 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
66 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
18 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
95 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
16 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
98 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
25 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
17 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
29 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
25 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
26 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
803 views

Access denied on image styles files on Drupal 7.34 [closed]

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
46 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
131 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
61 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
264 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
113 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
93 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
30 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
145 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 ...
1
vote
1answer
169 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
35 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
169 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
91 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
46 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
175 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(); ...