The ImageField module provides an image upload field for CCK.

learn more… | top users | synonyms

0
votes
2answers
16 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
10 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
18 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
18 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
19 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
45 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
28 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
19 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 ...
0
votes
2answers
93 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
36 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
14 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
16 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
21 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
20 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
11 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) ...
2
votes
0answers
36 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
100 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
28 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
27 views

how to access a private file programatically.

I created a content type with an Image field and set it to store privately. I am making a custom module in which I need to create an tag for which I need the full width Image file. I know the file ...
0
votes
0answers
15 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
19 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
32 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
24 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
33 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
38 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
34 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 ...
0
votes
1answer
24 views

How to return drupal's articles image upload

I am new in drupal when I click on content>add content I don't have the browse button to uploading image for article, maybe I removed accidentally from structure>content type or other... How can I ...
0
votes
1answer
57 views

How to add image field to module install file

How to add image field to database in module install file? I found on api documentation, that type is image, so tried the following code: function profile_bg_schema() { $schema = array(); ...
0
votes
0answers
57 views

Drupal 7 Image Style not working for larger size image

I am working on a drupal 7 site http://imgmart.com where I have defined multiple image styles. I have a content type called gallery with image cck field. Everything works fine if I upload image of ...
0
votes
2answers
15 views

How to Create a Image Field Template

I've made a image field template called "field--field-image.tpl.php" This has override the image field. But how do I get the image to display <img src="<?php print render($item); ?>" ...
0
votes
2answers
37 views

styles unlimited value image fields

I use unlimited values for image field in a content type, then the images displays one below the other : Is there a way to render this field differently ? For example every line show me only three ...
1
vote
1answer
18 views

Resolving internal image paths?

Inside my template.php I am populating a custom variable to be used inside my views-view-unformatted--latest_stories.tpl.php The image data associated with the content type has the structure: ...
0
votes
2answers
62 views

Upload an image in a form programmatically

I'm doing a form programmatically. I need to give an option to upload an image and give an option to resize it ( like cropping option ). I don't know how to do it, I know that I need to upload the ...
0
votes
1answer
39 views

Select Images from a Multiple Images Field

I have a multi-valued image field that gets populated automatically with several images per entity. I need to add a manual "approval" step where one or more of the images is selected to be used later. ...
0
votes
0answers
15 views

change the directory from image field after nodes have been added

The directory for the Image field was set to a sub folder in sites/default/files but now I find that in some of my edits the directory has been set blank in the fields properties. So, some of the ...
0
votes
0answers
60 views

field_attach_form: multi-image is not working on ajax

I am using custom form and in a fieldset I am assigning field which is from content type I get by using field_attach form. When I attach it directly it is working fine. But when I use it attaching to ...
0
votes
0answers
129 views

Calls wrong image file path

I have simple Image field, its file path is set to field/image so when you upload a file, its path is something like /sites/default/files/field/image/image.jpg. But when I create content and upload ...
0
votes
0answers
36 views

I am using a custom module that inputs the user profile image into apache solr index and then I use it on a view but the image doesn't show

I have created the following module and I have managed to input sm_field_main_image into a view. However, the user profile image does not appear. Does anyone know where the mistake is? Thanks in ...
0
votes
1answer
50 views

Custom image style used on image upload causing errors

The site is running in a Windows Server environment. I have a custom content type, which has a single "image" field. I have created a image style, called "slider" with the dimensions 800x480 Images ...
0
votes
1answer
37 views

How to change image size and position when uploading to article in tb_rave_starter

I want to change image size and position How could this be done, please help me.
0
votes
0answers
42 views

Radiobuttons next to an image

I'm doing a multistep form and I need to add images next to radio buttons. The radio buttons has the description and the image show what is the option. Now I have the radio buttons list Now I ...
1
vote
2answers
54 views

Display image field from nid

I'm trying to print the image field from a node using the nid in the url. $nid = $_GET['field_item_request']; Is there a specific way to do this?
0
votes
1answer
49 views

DB Error after upgrading D6 to D7

I upgraded a Drupal 6 site to Drupal 7. After upgrading, everything works fine. I had migrated all the content types and content. I am able to view all the content. When I edit or add a content which ...
1
vote
2answers
144 views

How to create similar to multi-image field struture in drupal using form api

How can I make a structure like adding new textfield with a button and removing that field with remove button. The structure generated should be similar to when we upload a image in multi-image field ...
0
votes
1answer
55 views

Add class on cck image field(img tag)

I want to add a class on cck image field output img tag, not on field wrapper div. How can i do it?
1
vote
1answer
166 views

Add title and alternate text to image automatically?

I am building a site using drupal 7. In my site user can upload content and also images. My goal is that when a user is uploading content to the site, and also an image - the title of the content ...
0
votes
0answers
110 views

Unsafe to use NFS to share sites/default/files between many Drupal instances?

If you have a high-traffic website backed by multiple Drupal instances, you may want to have a dedicated file server that hosts sites/default/files, and somehow share that between all those Drupal ...
0
votes
2answers
118 views

How do I iterate through images using file_create_url()?

I am trying to add Lightbox feature to images. This is the code I used in the node template. <p> <a class="lightbox" href="<?php echo ...
1
vote
1answer
124 views

Image style doesn't rebuild after image style flushed

I have practically the same problem as here : https://drupal.org/node/2187443 I've flushed my image style because I edited this image style. Now when I reload the page where the image style should be ...
0
votes
0answers
14 views

Uploaded image attributes

I'm new to drupal and I'm using drupal 6 I want when I upload an image using imagefield to display its width and height in pixels the only thing that appears after uploading is the image thumbnail, ...