Topics related to use of images on Drupal sites.

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Image derivatives not created when clean URLs turned on

Trying to track down the source of my issue: Image derivatives aren't created when clean URLs is turned on. Right now I can either turn off clean URLs or I can add "$conf['...
1
vote
2answers
88 views

Images referring wrong path

I uploaded some images in content. the images are uploaded to "sites/default/files". but in node page the images are referring "sites/default/files/styles/large" path. how to change it?
1
vote
1answer
10 views

Print Media CKeditor images correctly custom code

How can I show an image that I uploaded with de CKeditor Media browser on my page? Now I use this code: case 'black_box_with_image': $black_box_with_image_image = ''; if (!...
0
votes
0answers
16 views

How do I migrate user photos from database url string?

I am using module migrate to migrate some users from a mysql database to Drupal 7. There is a field photo in user table with is the url of the photo. What's the best Drupal approach to import them?
0
votes
0answers
10 views

Change facebook share image

I have a running functionality to share image on Facebook using og:image. Now we need to change this image so I have set new path in og:image, but this is picked old one. Does facebook cache previous ...
1
vote
0answers
17 views

How to allow uploaded image brightness and contrast to be edited with a UI like a slider?

Many sites, like eBay to give a well-known example, allow users to edit images they upload with a slider or buttons to increase or decrease brightness and contrast. When the UI is used, a new image is ...
0
votes
2answers
24 views

add base url before field text content

I have a text field used to enter a code (like 1111). This code is linked to a file (image) hosted in another server. When a user displays this content type, I want to automatically display 3 things :...
1
vote
1answer
29 views

Looking to change the header from a color to an image [closed]

I am using the NewsCenter theme for my Drupal site, and we have had a new logo/banner designed for our website that I want to implement -- but it's not as simple as just uploading it and replacing the ...
1
vote
1answer
8 views

Image Gallery Has Blurry Images

My image gallery is showing the images blurry. Its using Ligthbox2. When I click on the images, they show clear in the lightbox. Is this a lightbox setting?
0
votes
2answers
14 views

How do I tweak the html of an image in Drupal?

I want to edit the alt tag for several images on my Drupal site. But Drupal just lets me upload and place the images. How do I access the html for the images?
0
votes
1answer
14 views

Image styles with $settings['file_public_base_url']?

I deep dive in the settings.php file of Drupal 8.1 and try to configure $settings['file_public_base_url']and $settings['file_public_path']. All media links are correctly rewritten, that works with ...
1
vote
1answer
33 views

How to reverse engineer a section of a Drupal Page

Sorry if this is a beginner or inappropriate question, but I'm trying to work on modifying a complex Drupal site and I have no idea how to find out how it's built. At the top of the home page there'...
1
vote
0answers
12 views

Tweets of articles from links get a generic image

When I tweet the URL of an article on my Drupal 7 site, I get the correct summary, but the associated image is a generic icon -- not the image associated with the article. I've been trying to fix this ...
0
votes
0answers
7 views

Using ImageMagick but still far from optimized

ImageMagick is installed and working properly, but Google PageSpeed still reports that images on the frontpage could be optimized by 84% in total. What am i doing wrong ? Here is screenshot of the ...
1
vote
4answers
175 views

Background image in node content

Is it possible to create a image file upload and then have that image appear as a background image within the "content" area of a particular page? I then want to put content (text) over the image. ...
0
votes
0answers
10 views

What does the “Empty srcset[]” breackpoint in Picture Module?

I'm using the Picture Module but one thing I do not understand. What does exactly the "Empty srcset []" breackpoint ? Why I should use it and why I shouldn't use? Thank you a lot.
1
vote
0answers
26 views

Creating a dynamic image via PHP within a block

I'm migrating a site from Drupal 5 to Drupal 8. The original D5 site has a page created by a PHP routine, with an included dynamic image, created by a separate PHP routine. The page outputs HTML in ...
0
votes
0answers
26 views

Is there a way to combine product images using variations?

I'd like to be able to combine images with alpha channels in order to produce a layered display for product types. For example: Product - Shirts Variations Type: Crew Neck, V Neck, Polo Sleeve: ...
1
vote
0answers
24 views

Margins around images

I have Drupal 8.1.2; the Breakpoint and Responsive Image modules are installed. When an image is inserted using CKEditor inline images there is no margin between the image and the text. I have ...
0
votes
0answers
15 views

Media Feeds Import Mapping Error for Image Files pre-uploaded via FTP

New to Media Feeds and building off of this string on duplicate image creation on Feeds import (here: How to prevent image files being duplicated while importing nodes with the Feeds module?). I am ...
0
votes
1answer
18 views

How to define an image style where images are the exact same dimensions (e.g. grid of square images), without cropping or distorting the image?

On my site, images of any shape can be uploaded, for example: I want these to display in a grid where every image is the same size and shape (in my case, square) - due to the nature of the images, ...
1
vote
1answer
107 views

How to upload file from a custom module?

I am trying to create one basic module for Drupal 8, where I have added one form with some textfields and multiple file upload element. Now on "submitForm" I am saving textfields values on database, ...
0
votes
0answers
20 views

7 error on save after upload image

I am using the ckeditor. after uploading an image when i click on save i get an error : PHP Fatal error: Call to undefined function bootstrap_form_process() in /docroot/includes/form.inc on line ...
1
vote
0answers
29 views

Mismatch during first run

Migrating D7 to D7 in 2 subdirectories: /public_html/siteold/ with db=dbold /public_html/sitenew/ with db=dbnew I am using the UI of migrate_d2d. In a first run, I migrated users, files and ...
0
votes
0answers
26 views

user upload multiple pics for avatar approval

How to let user upload multiple pics for avatar approval in Drupal 7. 1) I used the avatar approval module, but I want to upload multiple images for different user?? 2) Different user can login ...
1
vote
0answers
31 views

Images are not showing on localhost. What settings do I need to change?

My images are not showing. I have looked this question up but all of the solutions I found were over a year old and my settings.php file does not have a $base_url setting. If you try to view an ...
1
vote
1answer
26 views

I get a “URL not found” error, but the image is on the server

I have a Drupal site which I have just migrated to a different Linux server for development. The site seems to be working more or less. However, one problem persists: None of the images is shown. ...
5
votes
1answer
90 views

How to upload .tif image file?

I want to upload image(.tif extension) to drupal website, but as per current we can upload only jpg/jpeg/png/gif only.
0
votes
0answers
24 views

Add custom image watermark based on role and content type

I am adding small watermark logo to all images using ImageCache Actions There are 10 users that are publishers of their own galleries, and i want to protect their images (i know they can not be ...
0
votes
1answer
40 views

Image orientation

I try to fit portrait and landscape images to one size for Drupal 8. When I set image style (scale and crop 280x220) portrait images are automatically rotated. Then I tried to install Image effects ...
0
votes
1answer
79 views

Generate image URL from FID

I have a custom form in Drupal 8, which has a image upload field. I am storing the file ID of that uploaded image. Now I need to generate the URL of that image. How can I achieve this?
0
votes
1answer
8 views

How do I view the string pulled from feeds image importer?

I am importing images from a feed using xPath parser. I think that I have the correct attribute value, media:content@url, but I am getting a Unable to handle the provided embed string or URL. error. ...
0
votes
1answer
42 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 7....
1
vote
0answers
33 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 ...
1
vote
0answers
11 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
1answer
64 views

Drupal integration with external binary program to convert an image?

Using Drupal 8. On a cloud based site, I have a program for converting images into svgs that takes, at times, a few hours of run time. I can easily run the external binary program (configured to run ...
0
votes
0answers
34 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
31 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
14 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 ...
1
vote
0answers
15 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
44 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
134 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
24 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. ...
1
vote
0answers
21 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
75 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 ...
0
votes
0answers
54 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 ...
1
vote
0answers
24 views

How to store images on a separate server with Drupal 7 [duplicate]

How to store (upload and move) images to a separate server (possibly with a mounted drive) with Drupal 7 and still be able to select images from the Media browser? Also, how to serve the images from ...
0
votes
0answers
15 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: http://example.org/sites/default/...
-1
votes
2answers
52 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?
1
vote
0answers
15 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, ...