The ImageField module provides an image upload field for CCK.

learn more… | top users | synonyms

0
votes
1answer
17 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 ...
1
vote
0answers
18 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 ...
0
votes
1answer
24 views

Programmatically save image together with its ALT

I am not sure what is the benefit of using system_retrieve_file mentioned on Save image from URL to a field from a custom module, so I just use the following simple code to save image ...
0
votes
0answers
11 views

Bad experience: PDF to ImageField and similar Drupal modules

I can not make them work (PDF to ImageField, PDF Preview and PDFThumb), No errors, no status report messages. Simply it doesn't show the preview as it should.
0
votes
1answer
16 views

How to modify display of image form metadata after upload on node edit form?

After uploading an image, how do I hook in and change the display so that Title appears above Alternate text?
1
vote
0answers
38 views

“Remove All” button for unlimited fields in Drupal 7

I've written a custom module for this functionality where my below code is able to delete the files but I think there should be a better way for doing that! <?php /** * Implements ...
3
votes
1answer
37 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
1answer
49 views

Image field, how add title field?

Here drupal have a field for set a description for each images: How I can add a custom field for each image please ? By example a "Title" or "Author" field ? Thanks.
0
votes
2answers
19 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 ...
1
vote
1answer
26 views

How to print and/or manipulate individual image attributes and suppress width and height via the image.html.twig template

I had to get rid of the width and height attributes in my images and wanted to learn better the possibilites of Twig in Drupal.
0
votes
2answers
98 views

How to get alternative text on image hover

How to display image's alternative text when an user hovers on that image. I have come across few posts that displays popups and views, but not the alternative text of the corresponding images. Some ...
0
votes
0answers
48 views

Imagefield Crop - Cannot read property 'substring' of undefined

I'am using imagefield_crop (https://www.drupal.org/project/imagefield_crop) to resize images in my site after upload. I have this JS error in the console after uploading my image : Uncaught ...
0
votes
0answers
36 views

How to get 'default image' value of image field token?

I have an imagefield with a 'default image' uploaded and set in the field settings. When I use this image field's token, it does not return the 'default image' I'd expect to see when nothing is ...
1
vote
1answer
88 views

Adding an image base field to custom content entity

consider the following situation: I have created a custom content entity with several base fields (string and string_long fields) and it works flawlessly. In addition I want the entity to hold an ...
1
vote
1answer
21 views

How do I load all images and thumbnail for a multivalued image field in node view?

I have a content type with a multivalued image field. I want to make the image field render with one main image and all the thumbnail. When any of the thumbnail is clicked then it's respective image ...
1
vote
0answers
55 views

Image preview thumbnail does not display

Drupal 7. When adding a core image field to a content type to display an image, the preview thumbnail does not display on the edit page when uploading an image. What appears after clicking on the ...
0
votes
0answers
15 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 ...
1
vote
2answers
65 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 ...
-2
votes
2answers
35 views

Modify the image preview area after upload in Drupal 7

I am new to Drupal. I wanted to have table less render view of images after upload at editing window. I found lots of help content, but they are hard to understand. Currently i have following view: ...
0
votes
1answer
62 views

Imce file browser not showing select button

The IMCE file browser seems to be missing it's select button. On this File field, I'd like content creators to choose an image that is already located on the server (not uploading a new image). What ...
-2
votes
1answer
26 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 ...
-1
votes
1answer
31 views

need to have image dragging option to position images in Gallery

I have created a image content type and upload few images. And then I created another content type for Gallery and using node reference field, I added several images under a gallery. I followed the ...
0
votes
0answers
11 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 ...
1
vote
1answer
110 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
65 views

Get the url of image field

I am using this solution to print the image for a node in the html.tpl.php file. This works, except it has the full markup. I need just the url for the image. Any ideas of how to print this out? For ...
0
votes
1answer
54 views

File (Field) Paths serial token

I have an image field type configured to accept an unlimited number of values. Using the File (Field) Paths module I have set the file name field value to [node:title].[file:ffp-extension-original] ...
0
votes
1answer
83 views

Changing value of min / max resolution for an image field dynamically based on a previous select list

Does anyone know if there is a way in Drupal 7 to change dynamically the value of minimum / maximum resolution for an image base on a previous select list. Example : I have a select with 3 elements ...
0
votes
1answer
14 views

Record image details for each image

I wonder if someone could tell me how to add details for each image I have for my content on my Drupal 7.32 website (say title and description). For Example, I have a Content Type called Info, this ...
1
vote
1answer
54 views

Upload images in external server

I work between two servers, and I use one for development and the other for deployment. It’s very easy because I can tell the development one to use the database of the deployment sometimes. What I ...
1
vote
1answer
64 views

Alter field (multiple values) to add more items/values of another field

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values). I need to display all images of parent product AND images of their childrens ...
0
votes
1answer
41 views

Image upload field won't show

I have added a image field with upload widget to my content type. It is shown when I try to add content as administrator, but not with other user types. Any ideas what may be wrong? Probably some ...
0
votes
0answers
41 views

Override the display of a default image - Drupal 7

I have a custom content type (my_content_type) with a an image field called featured_image. featured_image has a default value which is displayed when a specific image is not provided. For certain ...
0
votes
0answers
23 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
1answer
15 views

Is there a stable way to fill a filefield/imagefield via bulk upload in D7

OK, here's the deal. I've implemented image gallery nodes in D7 the straight-forward way, i.e. create node type 'gallery' and add an imagefield with unbounded number of values. Nice markup via ...
2
votes
0answers
217 views

Ajax error when uploading image [closed]

I have a problem on my Drupal website since 2 days. When I try to add a new image (50 KB), the thumbnail is not displayed after transferring the image so I have to save the element and open it again ...
0
votes
2answers
83 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
4answers
59 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 ...
0
votes
0answers
82 views

Where do I add this property to made plupload start the upload automatically

I found a great solution to upload images automatically, but I need help understanding where the code goes and how I figure out what the "my_element" value should be. This is a follow-up question to ...
0
votes
0answers
49 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
2answers
41 views

How to force migrations to not copy files

I have a migration with an image field and the files already exist on the server where I want them. There is a file, some_file.jpg that already exists at sites/default/files/some_file.jpg but when I ...
1
vote
1answer
40 views

How to set different default images in an image field per domain?

I'm working on a set of similar websites (promoting products of different regions) separated by Domain Access module. I'd like to set different default image in an image field in each site. Is it ...
0
votes
2answers
77 views

Creating a Field in order to add Icons to content's Title

we want to add Icons before the Content's title just like the picture below (icon before Glory of the Hero): but the problem about the stuff already existing in prior asked questions is that we're ...
0
votes
1answer
62 views

Programmtically add image to custom image field User

I can't figure out how to add image to a custom image field on a sepcific user. $f = file_save_data($user['thumbnailphoto'][0], 'private://profile/'. $data['name'] .'.jpg', FILE_EXISTS_REPLACE); ...
1
vote
0answers
59 views

Injecting field data in a custom entity

I have created a custom fieldable entity. Now I want to inject the field data into the entity and render the complete entity with the fields. The following code is working for text fields and ...
1
vote
2answers
359 views

Save multi value in multi value field programmatically

apologize every one , my code was correct , I had a mistake in content type .2 similar content type with 2 similar image field :P but I let it and don't delete this because maybe be useful in futures ...
0
votes
0answers
142 views

Upload image temporary and on form submit make it permanent

I have made a custom module where I load the create node form for an "announcement" content type. What i want Besides the text and select fields, I require an image field which supports multiple ...
0
votes
0answers
104 views

How to paginate multivalue image field and still show all images in Colorbox?

I have built some simple photo galleries by creating a content type 'gallery' with a multi-value image field holding the images. I've added the Colorbox module and am able to create a nice page with ...
0
votes
1answer
59 views

field slideshow module and image field caption

I want to use image field caption and field slideshow. How can I set the caption field as caption for my slideshow? I tried to apply the update but it didn't work.
4
votes
1answer
56 views

Image crop for touch devices

I am using imagecrop module for imagecrop field. but it is not working in touch deveices like ( ipad ). There is any best module for image crop in touch devices?. please help me.
0
votes
1answer
51 views

Product images with thumbnails and preview

I would like to have image gallery with thumbnails and preview above for every product in my Drupal 7 site. What I need to achieve is for example here: ...