Issues for ImageFieldhttps://www.drupal.org/project/issues/imagefield?text=&status=Open&priorities=All&categories=All&version=All&component=All
enHow To: Migrate from Image.module to ImageField Documentation Projecthttps://www.drupal.org/project/imagefield/issues/201983
<p>Is there any possibility to convert image.module/imageattacch images in imagefield? Is there any project in progress?</p>
<p>Thanks.</p>Tue, 18 Dec 2007 13:27:28 +0000psicomantehttps://www.drupal.org/project/imagefield/issues/201983Please add me to the co-maintainer(s) module.https://www.drupal.org/project/imagefield/issues/2953885
<p>Please add me to the co-maintainer(s) module. Because the module needs co-maintainer(s)</p>Sat, 17 Mar 2018 13:13:28 +0000alex_optimhttps://www.drupal.org/project/imagefield/issues/2953885Default image has no alt texthttps://www.drupal.org/project/imagefield/issues/971216
<p>Web accessibility requires that all images to have alternative text.<br />
Default images shows no alt text, causing tests for accessibility to fail when there is default images on the page.</p>
<p>Suggestion to either add another form field to the Default image field set, or use the Default ALT text.</p>Sun, 14 Nov 2010 06:55:18 +0000Max_Headroomhttps://www.drupal.org/project/imagefield/issues/971216imagefield_thumbs not deleted - wrong previewhttps://www.drupal.org/project/imagefield/issues/2140169
<p>When a user adds an image to the node (image thumb is generated using imagefiled_thumbs preset), but he _doesn't_ save the changes (just leaves the node form), then the related entry in {files} table is left with status 0. That means, that after some time this entry will be removed from the table in a cron run (system_cron() in system.module) and also the file will be deleted from the file system. </p>
<p>But since system_cron() implementation uses file_delete() function from includes/file.inc to delete the files, then only the original file is actually being deleted and thumbnail image is left untouched! Because of that if another user uploads an image with the very same name, then a wrong thumbnail (the old one) will be displayed to him (new and correct one won't be created).</p>
<p>The solution is to delete also the thumbnail in such situations.</p>Wed, 20 Nov 2013 17:13:49 +0000adr_phttps://www.drupal.org/project/imagefield/issues/2140169Referencing to the file used in the %field field is not allowedhttps://www.drupal.org/project/imagefield/issues/2320371
<p>I have:<br />
Drupal 6.33<br />
Imagefield to 3.11<br />
CCK FileField 6.x-3.13<br />
Download method - public</p>
<p>The problem occured After update the Imagefield to 3.11 release.<br />
When I try to edit existing/new created node with CCK Image field, occured message "Referencing to the file used in the %field field is not allowed".<br />
New entry is OK, saved without problem.<br />
When I try to edit it, the message occurs, when I delete the images, the node is possible to save without problem.</p>Wed, 13 Aug 2014 06:31:40 +0000sentinelczhttps://www.drupal.org/project/imagefield/issues/2320371Safari 5, Chrome and Opera intermittently fails to uploadhttps://www.drupal.org/project/imagefield/issues/375914
<p>1.CCK 6.x-2.1<br />
2.Imagefield 6.x-3.0-alpha4<br />
3. 777, 777<br />
4. public<br />
5. GD2<br />
6. Expect file to upload and preview to appear in browser<br />
7. The spinner next to the "upload" button spins infinitely (only in safari -- firefox works fine)<br />
8. </p>
<p>Steps<br />
1. Click on "Choose File"<br />
2. Select a file (file selection happens ok)<br />
3. Click "Upload"<br />
4. Spinner starts moving but never stops</p>
<p>note: the infinte loops happens for the remove button as well</p>Tue, 17 Feb 2009 21:16:25 +0000rootdownmediahttps://www.drupal.org/project/imagefield/issues/375914&#039;HTTP error 0 occurred&#039; on image uploadhttps://www.drupal.org/project/imagefield/issues/434394
<p>CCK 6.x-2.2<br />
ImageField 6.x-3.0-rc1<br />
all permissions to files and tmp are 777</p>
<p>I'm quite new to Drupal so I do not know exactly how to handle errors like this.</p>
<p>When trying to upload image in story (after basicly going through manuals as <a href="http://blip.tv/file/316842" rel="nofollow">http://blip.tv/file/316842</a>) - selecting an image from c:/ and clicking upload button I get an popup error:</p>
<p><em>An HTTP error 0 occurred.<br />
/filefield/ahah/story/field_image/0</em></p>
<p>and if I go on and continue to save the page reloads to this scary stuff:</p>
<pre class="codeblock"><code class="language-php">{ "status": true, "data": "\x3cdiv class=\"messages error\"\x3e\nThe file in the image field was unable to be uploaded.\x3c/div\x3e\n\x3cdiv id=\"edit-field-image-0-ahah-wrapper\"\x3e\x3cdiv class=\"form-item\" id=\"edit-field-image-0-wrapper\"\x3e\n \x3clabel for=\"edit-field-image-0\"\x3eimage: \x3cspan class=\"form-required\" title=\"This field is required.\"\x3e*\x3c/span\x3e\x3c/label\x3e\n \x3cdiv class=\"filefield-element clear-block\"\x3e\x3cdiv class=\"widget-edit\"\x3e\x3cinput type=\"hidden\" name=\"field_image[0][fid]\" id=\"edit-field-image-0-fid\" value=\"0\" /\x3e\n\x3cinput type=\"hidden\" name=\"field_image[0][list]\" id=\"edit-field-image-0-list\" value=\"1\" /\x3e\n\x3cdiv class=\"form-item\" id=\"edit-field-image-0-upload-wrapper\"\x3e\n \x3cdiv class=\"filefield-upload clear-block\"\x3e\x3cinput type=\"file\" name=\"files[field_image_0]\" accept=\"jpg,jpeg,png,gif\" class=\"form-file\" id=\"edit-field-image-0-upload\" size=\"22\" /\x3e\n\x3cspan class=\"button-wrapper\"\x3e\x3cspan class=\"button\"\x3e\x3cspan\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-field-image-0-filefield-upload\" value=\"Upload\" class=\"form-submit\" /\x3e\x3c/span\x3e\x3c/span\x3e\x3c/span\x3e\n\x3c/div\x3e\n \x3cdiv class=\"description\"\x3eMaximum Filesize: \x3cem\x3e3 MB\x3c/em\x3e\x3cbr /\x3eAllowed Extensions: \x3cem\x3ejpg jpeg png gif\x3c/em\x3e\x3cbr /\x3eImages larger than 800x600 pixels will be scaled\x3c/div\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3c/div\x3e\n \x3cdiv class=\"description\"\x3eMożesz załadować zdjęcie lub obrazek w formacie jpg, png lub gif. Pamiętaj, że zdjęcie nie może być w rozdzielczości większej niż 800x600 mieć rozmiar mniejszy niż 3MB.\x3c/div\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3cscript type=\"text/javascript\"\x3ejQuery.extend(Drupal.settings.ahah, { \"edit-field-image-0-filefield-upload\": { \"url\": \"/filefield/ahah/story/field_image/0\", \"event\": \"mousedown\", \"keypress\": true, \"wrapper\": \"edit-field-image-0-ahah-wrapper\", \"selector\": \"#edit-field-image-0-filefield-upload\", \"effect\": \"fade\", \"method\": \"replace\", \"progress\": { \"type\": \"throbber\" }, \"button\": { \"op\": \"Upload\" } }, \"edit-field-image-0-filefield-remove\": { \"url\": \"/filefield/ahah/story/field_image/0\", \"event\": \"mousedown\", \"keypress\": true, \"wrapper\": \"edit-field-image-0-ahah-wrapper\", \"selector\": \"#edit-field-image-0-filefield-remove\", \"effect\": \"fade\", \"method\": \"replace\", \"progress\": { \"type\": \"throbber\" }, \"button\": { \"field_image_0_filefield_remove\": \"Remove\" } } });\x3c/script\x3e" }
</code></pre><p>
Any ideas how I got myself into this mess and how I could get out? :)</p>Wed, 15 Apr 2009 14:36:20 +0000flamikhttps://www.drupal.org/project/imagefield/issues/434394How to print description under the each image fieldhttps://www.drupal.org/project/imagefield/issues/324591
<p>I added descriptions for all my images. How to print description under the each image field ?<br />
---<br />
(CCK) 6.x-2.0-rc10<br />
FileField 6.x-3.0-alpha5<br />
ImageField 6.x-3.0-alpha2<br />
download method - public</p>Wed, 22 Oct 2008 09:39:31 +0000idflorinhttps://www.drupal.org/project/imagefield/issues/324591Adding image via &quot;Reference existing&quot; submits the nodehttps://www.drupal.org/project/imagefield/issues/2184987
<p>When creating or editing a node, if I choose an existing image via "Reference existing", the Edit form is submitted as soon as I pick a filename and click the Select button. This lands me on the node in View mode; I would've thought that either (1) adding an image would not exit the Edit form, or (2) it would submit the node but return me to Edit mode, not View mode. What's going on? Is this normal behaviour?</p>Thu, 30 Jan 2014 00:29:21 +0000UTAN_devhttps://www.drupal.org/project/imagefield/issues/2184987Image disappears after edithttps://www.drupal.org/project/imagefield/issues/2126811
<p>CCK version 6-x-2.9<br />
imagefield version 6-x-3.11<br />
permissions for your tmp and files directory. 777 and 755, respectively<br />
download method (public or private files) public</p>
<p>I am using Views Gallery to add images (Views Gallery is a module that is "A gallery created using CCK, imagefield, and views."). If I want to edit an image's title after it has already been added to the gallery (ie, appears on the gallery's page), the image thumbnail disappears on the gallery page, and only a blank placeholder is left. Clicking on the image (which brings up the slideshow) also shows no image.</p>
<p>Hovering over the image placeholder in the gallery, I can see that the URL is getting truncated after saving the edited title, as follows:<br />
[mysite]/files/photos/img_0079.jpg becomes [mysite]/files/<br />
The image title below the thumbnail placeholder is changed as desired, and the URL is as expected. Clicking on that link (which goes to the image's View/Edit page) also fails to show the image itself, presumably because of the same URL truncation (although there is no placeholder link for me to hover over and confirm). Likewise, if I make a note of the node URL (ie [mysite]/node/438) the image is still missing from the View/Edit page.</p>
<p>However, the image still exists. If I manually type in the full, untruncated URL (ie [mysite]/files/photos/img_0079.jpg), then the image appears full-screen as expected.</p>
<p>This all happens whether or not I have the "Automatic Alias" option checked or not. It also happens on the Preview page even if a title is not changed (but reverts to the previously saved state). In other words, it appears to be the process of any edit to the image that seems to be the problem.</p>
<p>I've cleared the cache and also disabled all modules that are not required by Views Gallery, including those in optional core, and the problem persists. I'm all out of troubleshooting ideas and I don't know what is the likely culprit: ImageField or something else. </p>Mon, 04 Nov 2013 07:03:02 +0000k_and_jhttps://www.drupal.org/project/imagefield/issues/2126811Wrong imagethumb shown when images with same name uploadedhttps://www.drupal.org/project/imagefield/issues/2044331
<p>I have drupal 6.28 and 6.x-3.11 of imagefield module on my website.<br />
I have a content type called Profile which has a cck field as filefield with image widget.</p>
<p>Steps to replicate:</p>
<p>1) Try to create new content of "Profile" content type.<br />
2) Upload a image as image.jpg <strong>Don't save the content.</strong> This results in a temporary image uploaded i.e. files table has status of this file as 0.<br />
3) After six hours (max temp file age in system.module) when the cron runs it deletes the file from database as well as codebase but hook_file_delete is not invoked so the imagethumb remains behind as image.jpg.<br />
4) Now Create new content of "Profile" content type and upload a different image with same name i.e. image.jpg.</p>
<p>Thumbnail of old image is shown instead of newly uploaded image as it exists in the folder with same name.</p>
<p>Ideally the thumbnail should get deleted and it is handled by writing hook_file_delete but file_delete hook is not invoked by core drupal thus causing problem.</p>Wed, 17 Jul 2013 19:33:41 +0000sadashivhttps://www.drupal.org/project/imagefield/issues/2044331Possible to write some text for the Images only ONCE?https://www.drupal.org/project/imagefield/issues/2063009
<p>Content Construction Kit (CCK) 6.x-2.9<br />
ImageField 6.x-3.11</p>
<p>I use this for only ONE content type Toilet and would like to ad a text saying something like "You can click the image to see it in larger size". I use imagecache but if you click the images you can see it much bigger. Don't know how to do this?</p>
<p>Here is how it look in Android app <a href="http://tinemuller.dk/findtoilet/android_app_beta/" rel="nofollow">http://tinemuller.dk/findtoilet/android_app_beta/</a> and if you click the link at the bottom or <a href="http://beta.findtoilet.dk/content/vesterbro-torv-vesterbrogade-47f" rel="nofollow">http://beta.findtoilet.dk/content/vesterbro-torv-vesterbrogade-47f</a> you can see what I mean.</p>Mon, 12 Aug 2013 08:03:51 +0000tinemhttps://www.drupal.org/project/imagefield/issues/2063009The unlimited number of images stuck on 16https://www.drupal.org/project/imagefield/issues/2032969
<p>Hello<br />
I want to report a strange bug and i need your help.</p>
<p>I have an installation with the following features:</p>
<p>Drupal: 6.25<br />
PHP: 5.3.21<br />
Web server: LiteSpeed<br />
File system: Writable - Public download method</p>
<p>Modules:<br />
cck 6.x-2.9<br />
FileField 6.x-3.11<br />
ImageField 6.x-3.11<br />
Insert 6.x-1.1<br />
FileField Paths 6.x-1.5<br />
FileField Sources 6.x-1.4</p>
<p>Web browser:<br />
Firefox 22.0<br />
Internet Explorer 10</p>
<p>I have an image field with unlimited number of images, everything works well until the 15th image, the 16th image is uploading ( to /public_html/sites/default/files ) but not saved in the node.<br />
When you reopen the node the 16th image ( and over ) does not exist.<br />
The button "add another item" is working, and you can create unlimited image uploaders but from 16 and over the images will not saved.<br />
The images is still on the folder /public_html/sites/default/files but not in the node.<br />
One more thing, when you upload the 16th image and push the button "add another item" create a new uploader but the 16th image disappears.</p>
<p>Thank you</p>Tue, 02 Jul 2013 11:09:21 +0000Dimitris Nikhttps://www.drupal.org/project/imagefield/issues/2032969Use Imagefield module to store images on diffrent server.https://www.drupal.org/project/imagefield/issues/2028493
<p>I am using the Imagefield module to tweak it and use it for storing the images on different Server. I have cloned the module and now i have two image type (as a option under filefield). I am struck at point that when i upload an image it calls the function of both the modules (Cloned and the original). Please Help.</p>Wed, 26 Jun 2013 10:40:14 +0000tarun_nagpalhttps://www.drupal.org/project/imagefield/issues/2028493Imagefield possibly broken in 1 node type.https://www.drupal.org/project/imagefield/issues/1323670
<p>I'm moving this issue from here: <a href="http://drupal.org/node/1322772" rel="nofollow">http://drupal.org/node/1322772</a> (Ubercart)</p>
<p>It appears as though the connection between one of my node-types (product classes) and it's image field is broken. The images appear correctly in the product display but incorrectly in other places. For example:</p>
<ul><li>Cart: No thumbnail is displayed for this node type. Other node types display fine.</li>
<li>Views: When displaying in a view with values grouped showing only the 1st value the 1st value is not displayed, but the 2nd is.
</li></ul><p>This leads me to believe that some link or reference the images in the this nodetype is broken.</p>
<p>Where can I dig (database included) to see whether that is the case or not - I would prefer finding the problem to deleting and adding the image field again (which might solve the problem but will be hours of work)</p>
<p>Thanks.</p>Thu, 27 Oct 2011 15:27:39 +0000FranCarstenshttps://www.drupal.org/project/imagefield/issues/1323670Can&#039;t delete default imagehttps://www.drupal.org/project/imagefield/issues/1080632
<p>I created an imagefield field<br />
I uploaded the default image<br />
I happened to change servers and deleted by original sites/default/files folder<br />
Now the default imagefield is calling to an image that is no longer there.<br />
But there is no way for me to delete the default image now. </p>
<p>sorry if I missed something obvious.</p>Thu, 03 Mar 2011 22:30:37 +0000SocialNicheGuruhttps://www.drupal.org/project/imagefield/issues/1080632Imagefield module gets disabled unexpectedlyhttps://www.drupal.org/project/imagefield/issues/1366324
<p>I am having problems described in the original post here, two years ago:<br /><a href="http://drupal.org/node/492166" rel="nofollow">http://drupal.org/node/492166</a></p>
<p>My ImageField module is randomly becoming disabled. This happens roughly every two days. I believe it's related to running the cron job on my site, but it doesn't happen with each and every cron job run, because I can run the cron job without it becoming disabled.</p>
<p>CCK version: 6.x-2.9<br />
Filefield version: 6.x-3.9<br />
Imagefield version: 6.x-3.10</p>Fri, 09 Dec 2011 16:45:40 +0000larsdjohnsonhttps://www.drupal.org/project/imagefield/issues/1366324New node includes wrong path to image, fixed by re-saving the nodehttps://www.drupal.org/project/imagefield/issues/1240044
<p>CCK v6.x-2.9<br />
ImageField v6.x-3.10<br />
public download method<br />
perms 777 on temp/files and specified destination dirs</p>
<p>I've specified a destination subdirectory ("QQQQ") for image uploads using for a CCK image upload element added to the Support Ticket content type on my site.</p>
<p>I'm having a problem that sounds vaguely similar to <span class="project-issue-issue-link project-issue-status-info project-issue-status-7"><a href="/project/imagefield/issues/77817" title="Status: Closed (fixed)">#77817: Imagefield requires two attempts to work.</a></span>: When I add an image to an existing node, everything works as expected. However, when I add an image to a <i>new</i> node, the image file is saved correctly, but the node is saved with a path to the image that ignores my specified destination subdirectory, so the image doesn't appear in the rendered node. If I simply re-save the node, though, the path gets corrected.</p>
<p>Path to image in node after first save (incorrect, image is not displayed):<br />
../sites/default/files/my_image.gif?1234567890</p>
<p>Path to image in node after saving a second time (correct):<br />
../sites/default/files/QQQQ/my_image.gif?1234567890</p>
<p>Obviously, I can get around this by eliminating the destination subdirectory specification, but I'd like to make use of subdirectories if possible. Has anyone else experienced this problem?</p>Fri, 05 Aug 2011 01:32:05 +0000mjt772https://www.drupal.org/project/imagefield/issues/1240044Drag &#039;n Drop reordering broken (within fieldgroups?)https://www.drupal.org/project/imagefield/issues/1083904
<p>Same as this issue for D7: <span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/drupal/issues/819816" title="Status: Active">#819816: (Needs tests) Reordering multivalue file and image field uploads is broken</a></span></p>
<p>You can drag and drop images in the edit form but after save nothing actually gets moved.</p>Mon, 07 Mar 2011 14:57:12 +0000druplicatehttps://www.drupal.org/project/imagefield/issues/1083904Imagefield: Image lost when hitting the &quot;return&quot; keyhttps://www.drupal.org/project/imagefield/issues/1192512
<p>There is a node type containing an imagefield (multiple allowed, see attached image 1) and an ordinary text field (attached image 2, label "Freigabe").<br />
When hitting "return" after editing the content of the text field (see attached image 1+2) the form is re-displayed. The text field shows the new content (image 3) - but the image field is empty (image 4).<br />
But the DB still refers the image and image files still exist at this time.</p>
<pre class="codeblock"><code class="language-php">mysql&gt; select * from files where filepath like '%KStA-20090810-nr183-s32.gif';
+-------+-----+-----------------------------+-----------------------------------+-----------+----------+--------+-----------+
| fid | uid | filename | filepath | filemime | filesize | status | timestamp |
+-------+-----+-----------------------------+-----------------------------------+-----------+----------+--------+-----------+
| 12926 | 4 | KStA-20090810-nr183-s32.gif | files/KStA-20090810-nr183-s32.gif | image/gif | 76909 | 1 | 0 |
+-------+-----+-----------------------------+-----------------------------------+-----------+----------+--------+-----------+
1 row in set (0.03 sec)
</code></pre><pre class="codeblock"><code class="language-php">find files -name "KStA-20090810*"
imagecache/scale_medium/KStA-20090810-nr183-s32.gif
imagecache/scale_thumbnail/KStA-20090810-nr183-s32.gif
KStA-20090810-nr183-s32.gif
</code></pre><p>
After saving the node the image including all uploaded image files is completely deleted.</p>
<pre class="codeblock"><code class="language-php">mysql&gt; select * from files where filepath like '%KStA-20090810-nr183-s32.gif';
Empty set (0.03 sec)
</code></pre><p>
CCK-version: 6.x-2.9<br />
Download method: private</p>Sat, 18 Jun 2011 08:24:49 +0000schildihttps://www.drupal.org/project/imagefield/issues/1192512Default caption empty?https://www.drupal.org/project/imagefield/issues/1417704
<p>Hi,</p>
<p>I just enabled the custom title text attribute on my imagefield.<br />
When a user is trying to upload an image, the default title text is prepopulated with the filename. But I want this to be empty.<br />
I noticed the setting: "Default Title text:", but how can I make it referencing an empty string?</p>
<p>Thanks!<br />
Jochen</p>Thu, 26 Jan 2012 15:25:57 +0000Jochushttps://www.drupal.org/project/imagefield/issues/1417704imagefield causing excessive cache_set queries, database entries and memory usehttps://www.drupal.org/project/imagefield/issues/1778290
<p>Hello ImageField support crew.</p>
<p>Have a website where it's taken me a while to narrow the problem down but I have it now cloned and simplified where only a few modules are running and ImageField seems to be causing excessive memory/cache and cache_set size files.</p>
<p>If I only have Ubercart, CCK enabled I get page load times of: 30.75MB in 1194ms.<br />
If I have Ubercart, CCK and also ImageField enabled I get page load times of: 241.50MB in 11147ms</p>
<p>I have my php.ini settings set to:</p>
<p>upload_max_filesize = 10M ;<br />
post_max_size = 200M ;<br />
memory_limit = 320M ;</p>
<p>The images I try to load in ImageField are 7kb.</p>
<p>The table for cache_form becomes so large I can't even view it in phpmyadmin (error #2008 - MySQL client ran out of memory).</p>
<p>Every additional 7kb image I try to load to the node increases the length of the page load incrementally until by around the 5th image I get http 0 ahah errors. Before the 5th or so image I can still add images if I am patient enough to wait more time with each additional image.</p>
<p>I uninstalled ImageField, and added it again, no change.</p>
<p>I checked all memory settings and folder permissions.</p>
<p>If I disable ImageField then the cache_form is small and the page load times are "normal"</p>
<p>My questions are:</p>
<p>1. Is this a known issue with a possible solution?<br />
2. How can I investigate further to see what the root cause of the problem is?<br />
3. Surely 7kb files shouldn't be causing memory loads of 241Mb instead of 30Mb for the same page and with page load times jumping a factor of 10x from ~1,000 to ~10,000 ms?</p>
<p>I've also checked the mysql query times and the cache_set call is taking over 700ms when ImageField is enabled.</p>
<p>Note: I also optimized my database tables, checked them for errors and I also deleted the contents of cache_set and other cache_ tables to start clean, this hasn't improved the situation.</p>
<p>Thanks for any guidance or assistance you might be able to provide!</p>
<p>Kindly,</p>
<p>Sebastian.</p>Fri, 07 Sep 2012 18:45:28 +0000datarazorhttps://www.drupal.org/project/imagefield/issues/1778290drupal settings path to tmp folder has to match the php.ini one https://www.drupal.org/project/imagefield/issues/1224998
<p>Hi... really this one make me crazy.</p>
<p>1) CCK 6.x-2.9<br />
Drupal 6.22<br />
FileField 6.x-3.10</p>
<p>3) www-data has rw to /tmp and sites/default/files and I can upload other type of file on simple filefield (like .txt).<br />
4) public<br />
5) see the image object down<br />
6) click on upload button and see the thumbnail at the end of the upload<br />
7) click... wait 0.5s and show two erro messages inside the widget:<br />
* "The file is not a known image format"<br />
* "The selected file %name could not be saved."</p>
<p>8) create a node, try to upload an image.</p>
<p>I'm on Debian squeez. Sudently I get "The file is not a known image format" every time I try to upload an image without apparently changing somethings...</p>
<p>I print_r the file object in the image inside the function filefield_validate_is_image. So in fact is "simply" than image_get_info return FALSE. After the upload they are no file in /tmp...</p>
<p>I check than I have fileinfo extension loaded and it is. It's installed with <a href="http://packages.debian.org/squeeze/libapache2-mod-php5" rel="nofollow">http://packages.debian.org/squeeze/libapache2-mod-php5</a></p>
<p>Is linked to the server configuration because on local it works with the files and database from the production. </p>
<p>Here the file object:</p>
<pre class="codeblock"><code class="language-php">stdClass Object
(
[filename] =&gt; screen_shot_2011-07-17_at_1.42.03_pm.png
[filepath] =&gt; /tmp/php32093o
[filemime] =&gt; image/png
[source] =&gt; group_images_field_image_0
[destination] =&gt; sites/default/files/articles-thumbnail-image/screen_shot_2011-07-17_at_1.42.03_pm.png
[filesize] =&gt; -19
[field] =&gt; Array
(
[field_name] =&gt; field_image
[type_name] =&gt; articles
[display_settings] =&gt; Array
(
[weight] =&gt; 0
[parent] =&gt; group_images
[label] =&gt; Array
(
[format] =&gt; hidden
)
[teaser] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 0
)
[full] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 1
)
[monsite_one_col] =&gt; Array
(
[format] =&gt; thumbnail_one_col_linked
[exclude] =&gt; 0
)
[monsite_one_col_promoted] =&gt; Array
(
[format] =&gt; thumbnail_one_col_promoted_linked
[exclude] =&gt; 0
)
[monsite_two_col] =&gt; Array
(
[format] =&gt; thumbnail_two_col_linked
[exclude] =&gt; 0
)
[4] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 0
)
[2] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 0
)
[3] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 0
)
[token] =&gt; Array
(
[format] =&gt; image_plain
[exclude] =&gt; 0
)
)
[widget_active] =&gt; 1
[type] =&gt; filefield
[required] =&gt; 0
[multiple] =&gt; 0
[db_storage] =&gt; 0
[module] =&gt; filefield
[active] =&gt; 1
[locked] =&gt; 0
[columns] =&gt; Array
(
[fid] =&gt; Array
(
[type] =&gt; int
[not null] =&gt;
[views] =&gt; 1
)
[list] =&gt; Array
(
[type] =&gt; int
[size] =&gt; tiny
[not null] =&gt;
[views] =&gt; 1
)
[data] =&gt; Array
(
[type] =&gt; text
[serialize] =&gt; 1
[views] =&gt; 1
)
)
[list_field] =&gt; 0
[list_default] =&gt; 1
[description_field] =&gt; 0
[widget] =&gt; Array
(
[file_extensions] =&gt; png gif jpg jpeg
[file_path] =&gt; articles-thumbnail-image
[progress_indicator] =&gt; bar
[max_filesize_per_file] =&gt;
[max_filesize_per_node] =&gt;
[max_resolution] =&gt; 0
[min_resolution] =&gt; 0
[alt] =&gt;
[custom_alt] =&gt; 0
[title] =&gt;
[custom_title] =&gt; 0
[title_type] =&gt; textfield
[default_image] =&gt;
[use_default_image] =&gt; 0
[insert] =&gt; 0
[insert_styles] =&gt; Array
(
[auto] =&gt; 0
[link] =&gt; 0
[image] =&gt; 0
[imagecache_thumbnail_actualite] =&gt; 0
[imagecache_reg] =&gt; 0
[imagecache_gallery_assist-gallery_assist-thumbnail-100] =&gt; 0
[imagecache_gallery_assist-gallery_assist-preview-550] =&gt; 0
[imagecache_group_images] =&gt; 0
[imagecache_thumb] =&gt; 0
[imagecache_member_list_image] =&gt; 0
[imagecache_user_picture_meta] =&gt; 0
[imagecache_profile_pictures] =&gt; 0
[imagecache_thumbnail_two_col] =&gt; 0
[imagecache_thumbnail_author] =&gt; 0
[imagecache_short] =&gt; 0
[imagecache_thumbnail_one_col] =&gt; 0
[imagecache_tiny] =&gt; 0
[imagecache_gallery_assist-default-thumbnail-100] =&gt; 0
[imagecache_group_images_thumb] =&gt; 0
[imagecache_40x40] =&gt; 0
[imagecache_gallery_assist-default-preview-550] =&gt; 0
[imagecache_thumbnail_one_col_promoted] =&gt; 0
[imagecache_thumbnail_teaser] =&gt; 0
)
[insert_default] =&gt; auto
[insert_class] =&gt;
[insert_width] =&gt;
[label] =&gt; Thumbnail Image
[weight] =&gt; 0
[description] =&gt;
[type] =&gt; imagefield_widget
[module] =&gt; imagefield
)
)
)
</code></pre>Wed, 20 Jul 2011 22:38:44 +0000gagarinehttps://www.drupal.org/project/imagefield/issues/1224998Alt and Title content not displaying in Image taghttps://www.drupal.org/project/imagefield/issues/1879384
<p>I am not trying to lay this at ImageField's feet - I'll be the first to say there could be another culprit. However, this seems like as good a place to start as any.</p>
<p>After a recent upgrade to Drupal core, ImageField, ImageCache, and a ton of other modules, the Alt and Title content are no longer displaying in the image tags.</p>
<p>Text can be found in the Alt and Title fields when editing the page, and the text is very simple (no apostrophes, etc). However, when viewing the page, the following is displayed:</p>
<pre class="codeblock"><code class="language-php">&lt;img src="therighturl" alt title width="110" height="110" class="imagecache imagecache-blog" &gt;
</code></pre><p>
The image displays fine, at the right location, size, etc.</p>
<p>The problem is that "alt" and "title" display in the img tag, but with no content. Might not be that big a deal, except that it also messes with any Facebook status update someone tries to post, since Facebook doesn't think it's a valid image...</p>
<p>Drupal 6.27<br />
CCK 6.x-2.9<br />
ImageCache 6.x-2.0-rc1<br />
ImageField 6.x-3.10</p>Thu, 03 Jan 2013 22:00:11 +0000Matthew OMalleyhttps://www.drupal.org/project/imagefield/issues/1879384shouldn&#039;t imagefield_widget_settings_form() be using a more specific theme function?https://www.drupal.org/project/imagefield/issues/1395138
<p>The preview of the default image in the widget settings is made thus:</p>
<pre class="codeblock"><code class="language-php"> if (!empty($widget['default_image'])) {
$form['default']['default_image_thumbnail'] = array(
'#type' =&gt; 'markup',
'#value' =&gt; theme('imagefield_image', $widget['default_image'], '', '', array('width' =&gt; '150'), FALSE),
);
}
</code></pre><p>
Would one of these theme functions not be better suited to this?</p>
<pre class="codeblock"><code class="language-php"> // Use to generate a preview (admin view) of an imagefield item for use in
// field item forms and filefield widgets. Invoked by filefield_widget_process.
'imagefield_widget_preview' =&gt; array(
'arguments' =&gt; array('item' =&gt; NULL),
),
// Theme function for the field item elements. allows you to place children
// within the context of the parent.
'imagefield_widget_item' =&gt; array(
'arguments' =&gt; array('element' =&gt; NULL),
),
// Generates and img tag to the admin thumbnail of an ImageField upload.
'imagefield_admin_thumbnail' =&gt; array(
'arguments' =&gt; array('item' =&gt; NULL),
),
</code></pre>Thu, 05 Jan 2012 14:26:38 +0000joachimhttps://www.drupal.org/project/imagefield/issues/1395138Adding a new image field causing the whole site to go down with an error.https://www.drupal.org/project/imagefield/issues/1883934
<p>Hello,</p>
<p>I refer to this very old post: <a href="http://drupal.org/node/313854" rel="nofollow">http://drupal.org/node/313854</a></p>
<p>I seem to be having the exact same problem.</p>
<p>The entire site breaks with a fatal error "Error. The website encountered an unexpected error. Please try again later." when I add a new image field to a content type. It doesn't matter which content type it is, if I add the image field who site is down!</p>
<p>This has only just started happening. I have previously been able to add a new image field no problems. I have not upgraded / migrated or changed anything. This just suddenly started happening today. When I create a new image field the whole site goes down. If I delete the new field I just created whole site comes back again. Problem is I NEED to be able to create new image fields - this is essential.<br />
Therefore this issue makes the entire site unusable as we cannot add new content.</p>
<p>Un-installing and re-installing the image module is not an option as it is a very large site with a great deal of image content on there. The existing image fields seem to be ok.</p>
<p>My technical knowledge of Drupal at this advanced level is limited especially as I did not set up this site myself. Rather I just manage it. Also I cannot find any error logs to indicate what is going on in more detail. Where are these located?</p>
<p>Questions Answered.............<br />
CCK version: unknown<br />
imagefield version: It says 7.4 next to the image module and the field module. This is not available in the dropdown above. Can't see any other version options.<br />
permissions for your tmp and files directory. 777<br />
download method (public or private files) Public but it doesn't even get up to this stage<br />
imagefield configuration: not sure??? it is enabled with many different styles in there which are currently used on the site.<br />
expected results: Image field to work and site not to go down.<br />
the unexpected actual results: Image field seems to get added and then can choose more options but the whole site is down.<br />
Steps to reproduce the problem: In admin create a new content type, manage fields, add an image field. Refresh the front end of the site. Error is seen.</p>
<p>This matter is really URGENT. Please help!!!</p>Wed, 09 Jan 2013 05:46:11 +0000nicole2292https://www.drupal.org/project/imagefield/issues/1883934ImageField Default Images not showing up in Viewshttps://www.drupal.org/project/imagefield/issues/460996
<p>I'm using Views with Imagecache for images. I have default images set up which work on the node pages, but not when it comes to Views. The nodes with images uploaded show up, and the default image has been created for the imagecache preset.</p>
<p>Anybody else having this problem?</p>Wed, 13 May 2009 02:17:36 +0000ctalley5https://www.drupal.org/project/imagefield/issues/460996Prevent Default Image from displayinghttps://www.drupal.org/project/imagefield/issues/1529018
<p>I have a node with a CCK ImageField. currently there is a default image associated with the ImageField.<br />
I would like to NOT have the default image show up when a view is called on a page.</p>
<p>Is there a way to add "do not display default value" alongside "hide if empty" when configuring an imagefield in views?</p>
<p>Thanks.</p>Wed, 11 Apr 2012 21:47:55 +0000Carelesshttps://www.drupal.org/project/imagefield/issues/1529018How to add a class to img rendered by imagefield?https://www.drupal.org/project/imagefield/issues/1210500
<p>I am uploading an image with imagefield and I want to add a class to <img src="/misc/watchdog-error.png" class="caption" data-orig-src="filepath" title="Only local images are allowed." alt="Only local images are allowed." width="18" height="18" />.</p>
<p>Is this possible? Because I didn't find anything on how to do this with several hours of crawling.</p>Wed, 06 Jul 2011 10:37:16 +0000himagarwalhttps://www.drupal.org/project/imagefield/issues/1210500Imagefield: Node outputhttps://www.drupal.org/project/imagefield/issues/1445240
<p>Imagefield is generally working great for me, as a CCK field in a node display. But:</p>
<ol><li>My node displays the filename of my image as the link. How can I change the text from the image filename, to "Click here". </li>
<li>Before the filename, is a rectangular image icon. I could use CSS to hide it, but is there an easier way to either disable it, or replace it?</li>
<li>When I upload my image, a thumbnail is created automatically (I am not using imagecache). How can I display this thumbail, optionally as a link?</li>
<li>In display fields, I've selected Lightbox iFrame, and when I click the link an iFrame pops up. But how can I (a) scale the image to fit the small iFrame (b) change the size of the iFrame?</li>
</ol>Sat, 18 Feb 2012 19:03:43 +0000iantresmanhttps://www.drupal.org/project/imagefield/issues/1445240images not saving at node creationhttps://www.drupal.org/project/imagefield/issues/1435978
<p>I'm finding that images I upload (using imagefield) during node creation are not saving with the node. Only when I go back in and edit the newly created node, re-upload the images, and then re-save do the images show up in the node. Specifically, I am working with ubercart product nodes in case that is relevant.I have not tested this with other nodes since I have no need for it and therefor do not know if it is an ubercart product node specific issue or a general imagefield on nodes issue.Any ideas what I can do to fix this? Thanks</p>Fri, 10 Feb 2012 15:40:32 +0000yosisayshttps://www.drupal.org/project/imagefield/issues/1435978Change the prefix of the src attribute of an imagehttps://www.drupal.org/project/imagefield/issues/1342408
<p>Hi,</p>
<p>I would like to know if it's possible to change the domain name of the src attribute. Our images are hosted on a CDN server, so we would like to prefix all src elements with <a href="http://cdn.mydomainname.com" rel="nofollow">http://cdn.mydomainname.com</a> instead <a href="http://www.mydomainname.com" rel="nofollow">http://www.mydomainname.com</a>.</p>
<p>Can we alter them in some hook? </p>
<p>Jochen</p>Tue, 15 Nov 2011 15:28:37 +0000Jochushttps://www.drupal.org/project/imagefield/issues/1342408Token for Image Width?https://www.drupal.org/project/imagefield/issues/1263188
<p>Isn't there token for image width which is being uploaded through image field module?</p>Mon, 29 Aug 2011 12:15:24 +0000himagarwalhttps://www.drupal.org/project/imagefield/issues/1263188Use imagecache for thumbnailshttps://www.drupal.org/project/imagefield/issues/402014
<p>Included is a patch that allows you to use imagecache for the thumbnail previews.</p>Sat, 14 Mar 2009 18:35:18 +0000attikshttps://www.drupal.org/project/imagefield/issues/402014Add ALT and TITLE tokens.https://www.drupal.org/project/imagefield/issues/774104
<p>I am only able to rename the file as the Filefield description:</p>
<p>[filefield-description]-[nid].[filefield-extension-original]</p>
<p>I installed the Imagefield Tokens module however this gave me no additional renaming options.</p>Sat, 17 Apr 2010 20:02:12 +0000B.P.Bhttps://www.drupal.org/project/imagefield/issues/774104When adding content, display imagefield Label first before the file browserhttps://www.drupal.org/project/imagefield/issues/1209270
<p>Normally, on imagefield, the file browser is displayed first, then, the label/description. It goes something like this:</p>
<p>Choose file: [browse]<br />
"Maximum file size: 8 MB<br />
Allowed extensions: png gif jpg jpeg<br />
Images must be exactly 200x250 pixels"</p>
<p>How can i switch their position so that the label/description is displayed first before the file browser?</p>
<p>Can this be achieve by just fiddling with the admin settings? Or modding the stylesheet is the only way?</p>
<p>Thanks.</p>Tue, 05 Jul 2011 06:08:04 +0000avergarahttps://www.drupal.org/project/imagefield/issues/1209270No auto-upload upon &quot;add another&quot;https://www.drupal.org/project/imagefield/issues/1169622
<p>When clicking "add another" all previously selected files are auto-uploaded.</p>
<p>Is there a way disable the auto-upload and start the upload only when the node is saved?</p>Thu, 26 May 2011 13:47:01 +0000drupalsvenhttps://www.drupal.org/project/imagefield/issues/1169622