Topics related to use of images on Drupal sites.

learn more… | top users | synonyms (1)

0
votes
1answer
12 views

Make menu images change color on hover

I'm using images instead of text links in menu using the hook in theme template and its working ok. Now i want to make these images to change color when they're hovered or clicked. Is there a ...
0
votes
1answer
28 views

How do I add a media image field?

I think it's quite confusing, I have installed these modules: Media Entity Media Entity Image Entity Browser When I try to add an image field, I have no widget for Media like it was in Drupal ...
0
votes
0answers
11 views

Gif animation and responsive image styles are not working

I have a multiple image field and need it to upload images and animated gifs. These images might be resized. When this happens, the animated gif loses its animation. Has anyone solved this problem in ...
0
votes
0answers
4 views

What aggregator element represents the image in a feed?

I have an RSS feed from a partner that I link to from my menu. If I link directly to the XML page -- http://www.criticalblast.com/sync-collaboration.xml -- then it will display the full feed with the ...
0
votes
0answers
14 views

Drupal integration with external binary program to convert an image?

On a cloud based site, I have a method for converting images into svgs that takes, at times, a few hours of run time. The workflow should have the user submit the image and have the image stored to ...
0
votes
0answers
12 views

Gallery with combination of in-place slider and modal / lightbox

I am trying to build a gallery with the following features: Image Slideshow, possibly with a thumbnail carousel below for nagivation. This should be embedded in the page layout, not in a modal ...
0
votes
3answers
30 views

Prevent user to upload an image from their system

I have some image fields on my site. My requirement is that the user should not be able to upload an image. Instead there will be a directory where I will place some images. And the user can only ...
0
votes
1answer
13 views

Can we configure Devel module to pick up images for the image field of a content type only from a specific directory containing images?

A Yes or No question. Using Drupal 7.43. Devel module generates polycolor image content of a content-type which has an image field. But I need only a few specific images on my contents of that content ...
0
votes
0answers
14 views

Drupal site moved causing issues rendering images

I received a source code and DB. The site is in Drupal . I upload the site on IIS and DB(with default charset UTF-8). Now what the problem we are facing is that we are unable to see some of the ...
1
vote
1answer
19 views

Smart crop for drupal 8? [closed]

I find intresting plugins, for smart image croping: https://www.drupal.org/project/smartcrop https://www.drupal.org/node/907984 https://www.drupal.org/project/imagefield_focus But all of them for ...
0
votes
1answer
39 views

How to add an image upload field in a custom Field Type

I'm defining a new custom Field Type in Drupal 8, let's say MyFieldType, with custom widget and formatter also. Such Field Type should have these two fields: text: a simple text value image: a ...
1
vote
1answer
14 views

Custom image style conversion - how to read back from a file?

I'm making a custom image style in Drupal 8. It takes various parameters and passes the image to an external service for processing, and it now needs to read back the processed image from a file. ...
0
votes
0answers
16 views

How do I correct issue with Imagemagick not resizing images over 1024?

When I resize a very large smartphone image to 1000 x 1000, the resulting size is 160 kb. When I resize the same large image to 1250 x 1250 the resulting size is 1.2 mb. The correct resize should be ...
0
votes
1answer
57 views

Image Styles Broken?

I have a new view that is coming up with a new issue, there is a "main image" for every entry, and for some reason after loading the page, almost all images break. But what's odd is that when you ...
-1
votes
0answers
22 views

Image tags not showing in block with Full HTML text format

My block markup is as follows: <div class="circle bn1"> <img src="sites/default/files/logo3.png"> </div> I added custom HTML in a block and gave it the text format of Full HTML, ...
0
votes
0answers
21 views

Gallery Formatter ( jQuery Gallery )not working in some nodes due to 403 error in thumbnail

I'm using Gallery Formatter module in a node type. My problem is that just in some nodes the module seems not to work. The images are loaded, when you click on a thumbnail the main image changes, but ...
0
votes
0answers
12 views

User profile image broken link

When images are uploaded to the user picture field of a user account, the image does NOT display. Instead I get a broken link. The link to the image is in the format: ...
0
votes
2answers
41 views

How to delete files when the node that displayed them is deleted?

Is there a way to delete files/images from the server automatically when the main node is deleted? How do I implement this?
0
votes
0answers
13 views

How to include an image in the user registration using the module Services

As the scheme would be to post a picture in the picture user or field in another field custom image. I tested with the following scheme and get nothing. The other fields in the record, user, password, ...
0
votes
0answers
38 views

How to rename uploaded files

Using Drupal 8, I want to rename and clean all filenames, e.g. If someone uploads file named like this Screen Shot 2016-03-29 at 1.13.21 PM.jpg, I want to clean it so that convert all spaces to dashes ...
0
votes
1answer
10 views

Block view for only the images uploaded to the image field of the current node

I am working in Drupal 8. I have a content type defined with an image field. For each page of that content type, I upload one or more images for its image field. I want to create a block view in ...
0
votes
2answers
30 views

scale image in drupal 7

I need to scale image in drupal 7. IF the width is greater than the height, THEN scale the image to 200px height. IF the height is greater than the width, THEN scale the image to 200px width. and if ...
1
vote
1answer
12 views

How to change images without removing and re-uploading via GUI back end?

I have some images I need to change in batches on the website. For example, I want to replace all color header images with grayscale images. What I did was subsitute the old images with the new ones ...
0
votes
0answers
9 views

How to import Images and YouTube URLs using Feeds Fetcher Directory

How to import Images and YouTube URLs which are defined as an absolute URL in XML using Feeds Fetcher Directory <?xml version="1.0" encoding="UTF-8"?> <Story> ...
0
votes
1answer
19 views

Compress Images that are already uploaded

I working on a website which has a content type. The content type contains an image field. Thousands of images uploaded already. Because image size is very big, there is requirement to compress the ...
0
votes
2answers
31 views

How to use expert class settings for display suite for images?

I've tried different combinations, but it's now working or showing up in chrome inspector... I'm also using Bootstrap template, could that by a problem? Or maybe I'm not filling out the information ...
0
votes
1answer
15 views

Is there a way to create CSS image styles?

Is there a way to assign css to image styles? I don't see any drop down for custom... Would be nice to add img-responsive style to ALL images on the site... Is there a module that can do that? ...
1
vote
0answers
22 views

How do I add an image upload field to menu content items?

So admins currently have the ability to add custom menu items. I would like to add an image upload field to this form so we can display it in the megamenu alongside the link. How can I add this field? ...
0
votes
0answers
29 views

Media module tokens vs. HTML in CKEDitor

I'm going to try my best describe the nightmare this has been, and hope there's a solution. Using the media module, when you add an image, the text inserted looks like this: ...
0
votes
0answers
41 views

Crop any Image before upload it

I am working on drupal 7 and the requirement is I need to crop the image before it gets stored or uploaded to the location. I tried with Imagefield Crop , Manual Crop , SmartCrop and Image javascript ...
3
votes
1answer
17 views

Cannot redeclare MyClass - but it's only declared once

I'm trying to port an image effect from D7 to D8. I've got Drupal to list the plugin, but when I try to use it I get a WSOD with "Fatal error: Cannot redeclare class ...
1
vote
1answer
38 views

print image as a background-image

The page.tpl.php prints the header image like so. I need to change it so that it prints it as a background image. i.e <div style="background-image:"' . $url . '"></div> When I make that ...
0
votes
1answer
30 views

Autopost from Drupal to Pinterest? [closed]

Is there a way to autopost images that are inside nodes from Drupal to Pinterest?
0
votes
2answers
62 views

How to create a block showing the sliding gallery of just 1 of the galleries?

again I need your help. I am running a site (D7.43, jQuery 1.10), with the jollyany (bootstrap) theme as the basis. Among other things the site has several image galleries, generated through Views. ...
0
votes
1answer
48 views

Revolution Slider stuck at loading

I need your help. I am running a site (D7.43, jQuery 1.10) with the Jollyany theme under the hood. The theme comes packaged with the revolution Slider from ThemePunch. I am trying to include a slider ...
0
votes
1answer
24 views

How to upload image or video from mobile device to content [closed]

Creating node via mobile browser goes ok, but when adding image or video i can only record and upload which also works fine, but i can not access gallery and choose an image to upload. Options ...
0
votes
2answers
27 views

How do I implement an image categorization system using Entity Browser and File Entity?

I am currently using the Entity Browser module along with the File Entity module for handling image upload and selection for content editors in a Drupal 8 project. I have several image fields on ...
3
votes
3answers
85 views

Loading default image from a node field in page.html.twig

I want to print the default image of a node field into the page.html.twig template file in Drupal 8. On doing my research the easiest approach I could find was {% if node.field_image.entity %} ...
1
vote
2answers
88 views

Inline images that can be enlarged

I'm re-implementing an old Drupal 4 site with Drupal 8 and I'm stuck with what I thought was a simple task. I want to insert some images into an article inline and be able to click on them to see a ...
1
vote
1answer
28 views

Loading css style present in DOM of another node

I am using the module Simple Background Image Formatter to convert an image into a div background image. It has two options - one to put as an inline style of a div or to choose a CSS selector which ...
0
votes
1answer
40 views

Configure inline images upload path per content type

There is a core feature that lets you configure where to save inline images uploaded using CKEditor: Here you can specify the path where you want store inline images. But this is global ...
-1
votes
2answers
40 views

Add a class to images in drupal

I have more than thousand images on my site. adding a class to each image manually is very time consuming process is there any way to add the class "adaptive-image" to all images already uploaded ...
3
votes
1answer
22 views

Add Encryption to Images

Is there a way to add encryption to images once they are uploaded on the website and stored on the server?
0
votes
1answer
10 views

Cannot find image properties when uploading

I'm building an LXC based on an existing and working well website. I've checked that all settings where the same. However, when I want to save a content after having uploaded an image on my LXC, I get ...
0
votes
1answer
15 views

Why does Drupal store the uploaded files for a content node even if the content is not created?

In Drupal 7, I try to create a News, which is a custom content type, with an Image file. I upload the file (not by pressing Ajax button, but just selecting the file), and leave all the other fields ...
1
vote
1answer
24 views

How to not have an image in a facebook share

I have a problem Although many have the problem with not have the right image, I'm trying to have no image at all. I have ads on the page that get chosen because the content type has no image. I ...
0
votes
0answers
43 views

Preprocess function for an image

I'm trying to add custom class to an image. The image is generated with a image field called "field_hero" so i'm trying to add a class to this image that is generated from that specific field. Right ...
0
votes
1answer
51 views

Some images are not displayed in IE [closed]

Some images fails to load on IE. DOM7009: Unable to decode image at URL: '[some unique url]'. The URL are set to sites/default/files/styles/image/image_name.jpg?itok=RANDTOKEN I can fix the error ...
0
votes
0answers
28 views

Add two multiple image upload fields plupload

This is the problem that i am facing. I have 2 content types which are company and vacancies. Vacancy has an entity reference of a company. Company content has a multiple image upload field called ...
0
votes
0answers
14 views

scale up small uploaded images in drupal 7 imce

I have many image size Thumbnails defined in imce module. whenever a very small image (smaller than any of my thumbnail) is uploaded, imce does not scale up it to make a bigger thumbnail than the ...