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

learn more… | top users | synonyms

0
votes
0answers
9 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
18 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
34 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
24 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
17 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?
1
vote
0answers
20 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
19 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
15 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
30 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
7 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
37 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
23 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
19 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
47 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
45 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
14 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
76 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
18 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
15 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
25 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
21 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
553 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
36 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
72 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
54 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
200 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
82 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
82 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
125 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
126 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
34 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
145 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
77 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
38 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
146 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
379 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
77 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
150 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
166 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
235 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
89 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
308 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
44 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
1k 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
192 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
49 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 ...