The ImageField module provides an image upload field for CCK.

learn more… | top users | synonyms

0
votes
1answer
9 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) ...
0
votes
0answers
9 views

Unable to generate og:image using Metatag and ImageCache modules

I have installed the Metatag module, along with ImageCache, 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 of them ...
0
votes
2answers
63 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
20 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
26 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
10 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
16 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
13 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
18 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
31 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
35 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
28 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
23 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
34 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
35 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
29 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
17 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
55 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
33 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
14 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
46 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
94 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
31 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
45 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
27 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
39 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
48 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
46 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
95 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
40 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
104 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
95 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
99 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
101 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
13 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, ...
2
votes
3answers
224 views

How to save the image of a node to the custom directory programmatically?

I have a cck image field and I have the "uploads" directory in the files folder. I want the images of these nodes are saved to the directory with the name of the node id and then the image file. ...
0
votes
0answers
48 views

Display Image Path in Template

How do I output the path of an image inside the field.tpl? I want to modify field--field_portductimage--produkte.tpl.php to get an output like this: <a href="trainer1big.jpg" class="MagicZoomPlus" ...
0
votes
1answer
53 views

How to set alias url for image address in a content type?

I added an image field for a content type and its directory is /content_type_image. it works correctly but when I add a content to this content type the uploaded image url on the website is ...
0
votes
1answer
30 views

Adding a link to download the original image to a view

I would like to add at the end of the description a link like saying "Download HiRes Image" at the end of the caption of the image in this view, but I don't know how. I did try with the module ...
0
votes
1answer
151 views

Does “Maximum image resolution” resize before saving on the site?

I am building a site using Drupal 7, in which users can upload content and images. When I set the "Maximum image resolution" (on the core image field settings) to be, for example - 800x600. Is ...
0
votes
1answer
22 views

Is there any way to alter the “field type” of a field?

I need to change the field type "file" to "image" in drupal 7. I just hack the database and found a table named "field_config" and modified the "type" and "module" column, from "file" to "image". I ...
2
votes
2answers
253 views

Upload zip & unzip to multiple image field

I am using drupal 7 and I want to upload a zip file and automatically extract it into multiple image fields on a node. The zip file contains images. Is there a easy way to do this? cause I'm not a ...
0
votes
2answers
201 views

Rollover image swapping as a field

I'm learning Drupal and I'm trying to create a field where I can upload 2 images and let one face into the other while I mouse over/ hover / rollover it. Then I eventually plan to make it into a views ...
0
votes
1answer
219 views

Bulk import images & create nodes

Is there a way to bulk import images from server and auto create nodes for each image? this is for Drupal 7
1
vote
3answers
292 views

How to add an image field to a programmatically created form?

Basically I want to create a block with my module which's edit page has a few content fields and two image upload fields. When visiting the node where this block is rendered, I want to render the ...
0
votes
1answer
49 views

How can I override images on migration?

I'm migrating images from URLs and I'm mapping the image field with this code: $this->addFieldMapping('field_image', 'titlePhotos') ->xpath('/photo/@URL'); ...
0
votes
0answers
48 views

how to theme images uploaded with multi-value field?

I have a multi-value image field. Now I want to theme it based on the number of the uploaded images. if there is one image { //theme here } if there is 2 image { //theme here } And so on. I'm ...
0
votes
0answers
18 views

Lightbox2 module Rewrite Output as link

With the view module I am trying to rewrite the output as a link for the lightbox2 module. THe reason is, I am using Adaptive Image for the Image formatter. Here is what I have right now: Link Path: ...
0
votes
0answers
33 views

How to add a CSS attribute to Image

i need to add class to image. so i have 3 column in my site. each column have block for news, i need to add class for each images. first class is .imgsmall {width:355px; height:125px;} second ...