The ImageField module provides an image upload field for CCK.

learn more… | top users | synonyms

0
votes
0answers
13 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
16 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 ...
0
votes
1answer
33 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
20 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
27 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
12 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
60 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
27 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
16 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
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 ...
-1
votes
1answer
27 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
9 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
47 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
47 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
37 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
39 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
13 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
41 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
54 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
37 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
36 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
16 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
10 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 ...
1
vote
0answers
154 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
68 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
49 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
48 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
42 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
36 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
35 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
61 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
53 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
41 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
230 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
107 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
78 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
40 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.
2
votes
0answers
35 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
43 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: ...
0
votes
1answer
16 views

Tag/Label an image in an image field with Taxonomy terms?

Is it possible to tag images as you upload them on to a node in a multiple values image field? Image a node with a set of 3 images: image_1.jpg (tagged with: red) image_2.jpg (tagged with: blue) ...
4
votes
1answer
323 views

Unable to generate og:image using Metatag and ImageCache Token modules

I have installed the Metatag module, along with ImageCache Token, but it just does not work. I have tried many of the different available tokens in the Open Graph image field for my node, and none ...
0
votes
2answers
276 views

how to output image file from database drupal 7?

I have created testing module that will upload image and outputting it to my page. but, I can't seem to output my image file from my database. here's my code function database_ex_menu() { $items = ...
0
votes
1answer
45 views

Assign terms to image field items

This is what I'm trying to achieve. 1) The website has a gallery page which is made from one node, so each time uploading new images to the gallery, you just edit this one node. 2) EVA is attached ...
0
votes
0answers
33 views

Using content field widget in custom block?

I'm trying to figure out an easy way to implement a content field type (image_field) with a widget (imagefield_crop) on a custom block. The block currently has an upload image feature, but I want to ...
0
votes
1answer
38 views

Resize Image for more than one Image Size profile automatically

Here is my problem. I have field BigPicture in a my Product Content Type. Is there a way that When I upload an image from BigPicture Field that the current picture automatically resize in more than ...
0
votes
1answer
79 views

Programmatically render an imagefield in Drupal 6 as defined in content-field.tpl.php

What sounds like simple task in the first place, has taken me hours without getting a solution: All I want is to render single values of an imagefield just as in the normal node, i.e. as defined in ...
0
votes
0answers
56 views

cron trying to delete file(s) although it is linked to entity (node's image field)

Cron generating Did not delete temporary file "public://<filename>.jpg" during garbage collection, because it is in use by the following modules: file. although that file is linked to ...
0
votes
1answer
47 views

How to get different size image on views

I have view that fetch content and I show it on a block. My view shows 16 nodes and each node has title, date and image. For images I use imagecache to get correct size image. I have set this image to ...
0
votes
1answer
41 views

How to trace down to find where a field has been removed/hidden of a particular node

I am using a purchased theme provided by 3rd party (it is actually a custom drupal build comes with their modules and theme). My problem is that image fields are hidden some where in the module(s) ...
0
votes
1answer
54 views

Modifying callback for Image Upload button

I am trying to access the upload button of an Image field. The field itself is in a field collection. Using dpm, I can access the field collection, and the image field. What I want is to create a ...