Topics related to use of images on Drupal sites.

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

Only display image field when administrator approves it

I'm building an advertising website using Drupal 7, in my case anyone can add an advertisement without any restriction, except that the images should be hidden first until the website admin approves ...
1
vote
1answer
29 views

Images in sites/default/files are not allowed to be seen anymore

Today I realized, that all images, that are located in sites/default/files/fields may not be accessed anymote, neither are they shown in my articles nor may I see them in the browser (e.g. ...
0
votes
1answer
20 views

Display default image if the image isn't set

Case A custom image field has been added to the user entity, this field contains a default image for users, which should display if an user doesn't add an image. This field is used on multiple ...
0
votes
0answers
11 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 ...
0
votes
0answers
22 views

How to save a image after uploading it without submitting the form

I want to submit the image permanent as soon as user uploads the image .That is user comes to his profile page choose to upload image click the choose a file button , clicks on upload and the image is ...
0
votes
2answers
28 views

Default image only for view

I know that I can set default images for content types, but for my page, I would like to only display the default image for one particular view and not the other ones. It would also be nice if the ...
2
votes
2answers
29 views

Get an image from an article/entity in Drupal 8

How do I easiest get an image (it's path) from the article content type included in Drupal 8? What I have is an entity, using $image = $node->fields['field_image'] This gives me a hell of a ...
-2
votes
1answer
25 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 ...
0
votes
0answers
8 views

Get images from textfield and save them in filefield

I've been working with Drupal for some time now and I am just scratching the surface of module programming, so maybe someone can help me get me on my way here. I am looking for a module or a bit of ...
0
votes
1answer
22 views

Uploaded file not shown in custom content type / Image not attached to content type

In Drupal 7, I am trying to upload an image that belongs to a custom type. I click the Browse button, choose the file and upload. Until there, all seems to work well. However, when I click next, ...
0
votes
1answer
17 views

Migration: Combine Profile2 and file migration

I need to migrate profiles from an external database (not drupal) to Drupal 7. The target system uses Profile2 profiles. I already wrote the migration of all the "primitive" fields with the help of ...
0
votes
1answer
14 views

User profile image update from a popup window

Is there a way to make the user profile image updated using overlay window from different page other than /user/edit
0
votes
0answers
11 views

How to link cloud zoom preview to the full content on a click on the preview

I am developing an E-commerce website. When I hover on Product teaser it should display all the color variations in the product. I applied Cloud Zoom module for my product teaser its working well. ...
0
votes
0answers
21 views

Nothing happens when selecting choose file in the file browser in the CDKeditor

I'm not able to upload an image on ckeditor. When I access image properties > Browse server > upload then when I click choose file nothing happens. Any ideas?
-1
votes
0answers
18 views

Is there any awesome and easy use jquery image gallery module or plugins? [duplicate]

Dose anyone can share any awesome jquery-based image gallery plugins or Drupal modules? Or when you have to make such functionality, how did often solve the problem? (Coz it is time-consuming to code ...
1
vote
2answers
57 views

How to add a different specific image for each page in a region? [closed]

I want to have a different specific image on every page in the same region for each. I don't want to have to create separate blocks for each one. Is there an easier way? I will be getting the images ...
1
vote
2answers
107 views

Getting the image URL from a field_image on a node

So I have this Node: object(Drupal\node\Entity\Node)[1862] protected 'values' => array (size=17) 'vid' => array (size=1) 'x-default' => string '7' (length=1) ...
0
votes
1answer
24 views

Custom content type show taxonomy image

What i want is to have a field called Manufacturer so the user can select the product manufacturer. The way to show the field is an image linking to the Manufacturer page. example: Product "door ...
0
votes
0answers
21 views

How to move files, images or docs into live site on as needed basis

For several reasons we can't upload files such as images, pdfs, xls, etc., to our production server. It has to do with another application that is wrapped around Drupal7 and the revisioning process ...
0
votes
1answer
23 views

Responsive images with multiple fields

I'm working on a site that has (and must have) three image fields for out three breakpoints. We could call them field_img_mobile, field_img_tablet and field_img_desktop Is there a way (a module?) ...
0
votes
0answers
12 views

Attach custom meta infos to multiupload imagefield widget

I'm wondering if Drupal allows me to attach multiple informations to an multiupload image field. F.e. copyright, creator and taxonomy references for people appearing on the picture. Is there any ...
0
votes
2answers
72 views

How to create a single slideshow combining several image fields?

I have 3 image fields in a content type: img1,img2 and img3. img3 is multi valued while the rest are single valued, and I'd like to create a single slideshow containing img1, img2 and img3 to be ...
3
votes
1answer
75 views

Using Views Slideshow to display images with specific url links

I'm new to Drupal and I'm using version 7. I have created a Banner content type, to which I have added an Image field and a Link field (using the Link module). I have allowed theupload of multiple ...
0
votes
0answers
40 views

og: image in drupal Article to display custom image

We have a local newssite "zee-online.be". If one of our volunteers creates an article, and shares it to our facebook page, then sometimes things go wrong. The article shows up on our facebook page, ...
1
vote
1answer
52 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 ...
-1
votes
1answer
51 views

Dynamically add images to article body [closed]

I want to add images to my article body field dynamically. Just like displaying advertisements in between the content. Please help.
-2
votes
1answer
60 views

Linked images from the Media module in WYSIWYG having A tags stripped when rendered to template

I am using the WYSIWYG module to load TinyMCE 4.x, I am then uploading an image via the Media button in the toolbar of TinyMCE finally I am using LinkIt to link the image to a location. All of this ...
0
votes
0answers
89 views

imageresizer outputs image paths with query strings, how can I remove query string from such resources?

In the page speed analyzers it is recommended to Remove query strings from static resources. I know how to remove these query strings from .css files in the following way: function ...
0
votes
0answers
35 views

Let users upload images from social networks

I'm trying to build a website that gives user's a profile page where they can either upload images from their computer or pull them in from Facebook and Instagram. Ideally i'd like the user to have ...
3
votes
1answer
91 views

Upload Image in system_theme_settings form using Zen on Domain Access System

I want to upload the image as the background in the settings page of the zen theme. In zen , It's easy to add an extra field in the theme-settings.php and it's worked at the single site system. ...
0
votes
0answers
15 views

Single slideshow on node from combined fields?

So I have a node type that has two multi-value fields (one for images with ColorBox and one for 3D models using JSC3D) and I simply would like to show a single slideshow on my Node page that cycles ...
0
votes
2answers
38 views

Get views to format an image field for HiDPI / high pixel density / Retina displays

I have a view showing several nodes that have photos stored in an image field. It works great, but doesn't look so sharp on HiDPI displays (or when the page is zoomed-in on a traditional display) ...
0
votes
2answers
54 views

Add cropping option to an image form

I've the next form. $form['imagen'] = array( '#title' => t('Image'), '#type' => 'managed_file', '#upload_validators' => array('file_validate_extensions' => ...
0
votes
2answers
55 views

Replace Views prev/next pagination with image arrows

Is there a template that would allow me to replace Views' prev/next text pagination with image arrows instead? I could do it with CSS but I don't feel that is ultimately an optimal solution.
0
votes
1answer
41 views

How to add drupal contributed modules into a custom module

I've done a custom module to generate some forms. There is a image field present. I would like to add cropping functionality in image field. I've seen that is very interesting the Imagefield Crop ...
0
votes
2answers
43 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
22 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
1answer
106 views

i am getting “Error generating image.” Files permission is 777 and gd library is installed [closed]

I had installed gd library and also given 755 permission to the files but i am getting 500 - error generating issue in my drupal My site URL is http://vestcom.ca/dev/ One of example URL of error is ...
0
votes
2answers
25 views

How to set defined image weight in Drupal

I just now noticed this: My uploaded image for article has more weight in kb as my uploaded original image; I have set my GD toolkit image quality to 100% because I am compressing images myself as I ...
0
votes
2answers
45 views

How to fix millions of Alt Text are missing on body content?

This question is very similar to my other question. I have a website missing millions of Alt Text in body content(not image field). My solution is to set the default Alt Text as the file name without ...
1
vote
1answer
119 views

Wrapping embedded images with a div

When embedding an image in CKEditor on Drupal 7 any styles or alignment are applied directly to the image itself e.g. <img src="..." style="float: left; width: 90px; height: 150px" /> However ...
0
votes
1answer
41 views

Strip exif data from images

It seems most people rather keep the exif data, and have trouble keeping it. I have the opposite problem - we have a profile picture upload and it keeps the exif data. I'd like to strip that off the ...
0
votes
0answers
38 views

Image field not supporting bmp images

Why is the image field in Drupal 7 CCK not supporting a bmp file extension? When I add this format in the field "Allowed file extensions" list, it saves, but never show it in the form and does not let ...
0
votes
0answers
39 views

Embedding “Slide my Pics” slideshow - images not appearing [closed]

we set up a slideshow of pictures on "Slide my Pics" and embedded the slideshow into a page on our Drupal 7 site. Initially, the slideshow worked, but now the images are no longer visible in any ...
0
votes
4answers
44 views

How do I create a photobox for image?

Can anyone please guide me on how do I create a photobox that contains image and I wanted to display that image on landing page. I have created content type as an Image. But, I don't know how to ...
1
vote
1answer
36 views

List of images with checkbox (user registration)

This is what I would like to do: When a user registers on the website they have to give in if some options like for example if they are politically engaged, professionally engaged, an expert, ... . ...
0
votes
0answers
30 views

Unable to remove a default image

I have an Image field for a node. I added a default image, but now I want to use a different default image. When I click the Remove button, I get the following AJAX error: An AJAX HTTP request ...
0
votes
0answers
16 views

Image shows up on every page

I added images to my blog in Drupal 7 and they loaded fine. But one of the images shows up at the bottom of every page of the site. How to I delete it? Appreciate any help!
0
votes
0answers
26 views

Display thumbnail in teaser with WYSIWYG editor

I need to show a thumbnail in the teaser of my blog post. My blog post already have images inserted with WYSIWYG editor and i can see it in the default view of the blog entry. Then in the front page ...
0
votes
1answer
27 views

acquia cloud - images in content break, different path local vs cloud/server

On my local dev environment, my images are stored in (relative to server root) /sites/default/files/images/ On the server, acquia cloud implements a virtual directory and the end result is that ...