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

learn more… | top users | synonyms

2
votes
1answer
44 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
14 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
13 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
27 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
33 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 ...
0
votes
1answer
22 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
32 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
13 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 ...
0
votes
0answers
35 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 ...
0
votes
0answers
18 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
0answers
43 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
13 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
29 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
56 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
28 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
37 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
38 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
27 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
35 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
42 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
41 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
39 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
25 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
42 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
2answers
40 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
29 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
171 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
24 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
19 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
44 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
12 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
49 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
33 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
29 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
76 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
125 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
17 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
109 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
30 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
20 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
35 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
30 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
28 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
971 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
55 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
196 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
63 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
295 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 ...