Tagged Questions

Topics related to use of images on Drupal sites.

learn more… | top users | synonyms (1)

1
vote
2answers
36 views

How to add a different image for each page in a region? [on hold]

I want to have a different 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? Thanks
1
vote
2answers
60 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) ...
-1
votes
0answers
26 views

How do I upload images to a database using custom Drupal 7? [on hold]

This is my code db_insert('details') ->fields(array( 'companyname' => $form_state['values']['companyname'], 'contactname' => $form_state['values']['contactname'], ...
-3
votes
0answers
17 views

No Facebook Image on Share [on hold]

I am using Drupal 7.34. Shares to Facebook used to transfer the image to Facebook in many but not all cases prior to the upgrade to 7.32. Now no image is transferred. I am using the module Service ...
0
votes
1answer
18 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
20 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
8 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
45 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
58 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
25 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
votes
2answers
42 views

How get images src in Drupal 7

I need to make a output of the image field in a format: <a href="path/to/image.jpg"> <img src="path/to/image.jpg" alt=""/> </a> How can I do it?
1
vote
1answer
31 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
46 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
35 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
46 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
26 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 ...
2
votes
0answers
53 views
+100

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
9 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
31 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
49 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
37 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
39 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
31 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
21 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
55 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
22 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
40 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
77 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
31 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
31 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
30 views

Embedding “Slide my Pics” slideshow - images not appearing

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
40 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
33 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
28 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
17 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
18 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 ...
0
votes
0answers
26 views

How do I insert an inline image uploaded into another node?

The following scenario: D6, CCK, Filefield and Imagefield. The image is uploaded into node "foo". This image is supposed to be inserted inline into the body text of node "bar". I'm neither using ...
0
votes
1answer
51 views

How to change upload destination from private to public?

On a Drupal 7 installation I have an image gallery (set up with the media gallery module). I set the upload destination to private to protect those images for anonymous users. Unfortunately it turned ...
0
votes
0answers
52 views

Lightbox2 Download Original Image force download file?

Is there a fix for the "Download Original" link to force download file instead of opening image in new tab for lightbox2? I have downloaded "force download" module and can't seem to integrate it to ...
0
votes
1answer
21 views

How do I get a link to an image CCK in Drupal 7 in the node view?

If I do this: print_r($node); I get this: [field_main_photo] => Array ( [und] => Array ( [0] => Array ( ...
1
vote
0answers
15 views

Can Colorbox browse admin/content/media from Drupal Media rather than file uploads?

Is it possible to configure Colorbox for Drupal D7 to use content already stored by the Media module (in admin/content/media) rather than use a file upload? The alternative is either: Upload ...
0
votes
0answers
29 views

Need to center images in wyswyg block

I am trying to center 3 images in a block I have created in my footer but the images just won't center. I tried the wysiwyg editor's center button, but that did not work. I then tried to put in manual ...
0
votes
0answers
19 views

User picture in teaser

I've added this code to display user picture under own post and it works good but when i logged out , i cant see user picture !!?? <div class="user-pic"> <?php ...
0
votes
1answer
24 views

permission for user profile image

I would like to give permission for user profile image to registrant users only. i.e. anonymous user who visit the site can see the default profile image only in the user list and registrant users can ...
0
votes
0answers
35 views

how to request multiple public image sizes from a field's filename?

my json Service returns... field_photo: { und: [ { fid: "810", uid: "1", filename: "dxb-airport_1.jpg", uri: "public://dxb-airport_1.jpg", filemime: "image/jpeg", filesize: "64389", status: "1", ...
1
vote
2answers
81 views

How to make image alternative text as required be more web accessibility?

In Drupal 7, how can I set image alternative text as required in "Body" field (CKEditor), "image" field and file upload by using "Media" module? ---- updated info for betherwisser on Aug. 20, 2014 @ ...
0
votes
1answer
23 views

Image gallery with original image proportions

I was looking for a module a tutorial how to create an image gallery in drupal 7 where when you go in album all images are not cropped in rectangulars and displayed in a table, but remain with their ...
0
votes
2answers
11 views

users adding images

I am wondering what the best option would be for adding images to Drupal 7. I am running a new social media site for cats and their catlover humans at http://aimable.ghookermls.info/. My ...