Active
Project:
Image FUpload
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2009 at 00:26 UTC
Updated:
22 Mar 2010 at 12:05 UTC
I noticed this after upgrading to the release versions of Filefiend and Imagefield.
No images are displayed on the "edit captions" page. After saving the node, the images are displayed correctly though. This happens on both Firefox and IE7.
Comments
Comment #1
grandcat commentedYou have to choose another imagecache preset on the field's setting page.
Comment #2
OneTwoTait commentedWell then how do I know which Imagecache presets are OK and which are not?
This one was working before, now it is not.
Comment #3
jrabeemer commentedI ran into this problem. You have to make your *own* imagecache preset and assign it to the preview. I don't know if the module makes that clear, but that worked for me.
Comment #4
OneTwoTait commentedIt is an Imagecache preset that I made.
Comment #5
grandcat commentedYou should know that imagecache has problems with images which contain special characters.
Comment #6
jrabeemer commented#5, in that case, the transliteration (http://drupal.org/project/transliteration) module strips non-ASCII chars from uploaded files. That may help.
Comment #7
OneTwoTait commentedYes, I know. I do use that module as well.
It doesn't seem to be an ImageCache problem because the images do show up fine on the node itself. They just don't show up on the caption editing page.
Comment #8
extect commentedOn the the node edit page, after uploading 10 images it says: "10 files uploaded in queue". However, after clicking on "Next step", on the edit captions page it says: "No images yet in queue." The images get saved correctly as they do show up on the node itself. There just seems to be something wrong with the edit captions page.
Here are my settings for the imagefield:
Storage mode: Multiple image per node
Permitted upload file extensions: jpg jpeg png gif
Maximum resolution for Images: 0
Minimum resolution for Images: 0
Image title processor: _;{;};-
Preview Image Preset: Image size: gallery
(this is a custom preset which scales and crops images to 75x75px)
Editable fields: Title (ImageField), Alt (ImageField)
List field: Enabled, Files listed by default
Description field: Disabled
Neither my imagecache settings nor the filenames contain any specials chars.
Comment #9
OneTwoTait commentedThis doesn't seem to be the same issue. In the original issue the photos are actually there but are just not being displayed on that page and there is no "no images yet in queue" message.
Comment #10
extect commentedOh, sorry! I didn't want to hijack this issue. However, one way or another, there is something wrong with the edit captions page.
Comment #11
grandcat commented@ extect:
I think fupload didn't manage to install the mysql table which contains the tmp files for the preview page. Please have a look at your log messages.
Comment #12
extect commenteduhhh, you are right! Sorry, I forgot to run update.php! Everything working now. Thank you!
Comment #13
grandcat commentedOK, I will close this issue now.
Comment #14
OneTwoTait commentedGrandcat, I think you're forgetting that that was a 2nd issue posted in the thread of another issue. The original issue still remains.
Comment #15
extect commentedI am now experiencing the exact same problem as the others here in this thread. What is strange is that I have definitely seen it working without any problems, but suddenly the thumbnails stopped showing up on the edit captions page.
At the moment I have no idea what is causing this. I will keep testing...
Comment #16
extect commentedOk, this probably sounds absolutely strange, but the following steps solved the problem for me:
Comment #17
jrabeemer commentedextect: is this a bug? if so, mark it as such.
Comment #18
grandcat commentedCan you reproduce the bug?
Comment #19
extect commented@momendo:
I am still not quite sure. It may also be a problem that is specific to my site or maybe even another module is causing this. I just don't know.
@grandcat:
yes and no! The problem exists for all my content types until I follow the steps in #16. As long as I haven't done that, the problem still exists for that particular content type. After following the steps in #16 it's gone and not reproducible (at least so far).
Maybe the way the (broken) preview image on the edit captions page gets inserted will give some hint to track down the problem. The html wrongfully looks like this:
<img title="test.jpg" alt="test" src="http://www.mysite.com/sites/default/files/imagecache//galleries/story/42/test.jpg"/>The file path for the image field was set to "galleries/[type]/[nid]".
Although the file path is still the same after the following the steps in #16, the html is correct after that.
Comment #20
grandcat commentedHave you installed filefield_paths?
Comment #21
extect commentedyes
Comment #22
grandcat commentedDid you upgrade to the newest version?
Comment #23
extect commentedyes, my versions:
FileField Paths 6.x-1.2
Image FUpload 6.x-3.0-rc2
ImageCache 6.x-2.x-dev (2009-May-04)
ImageField 6.x-3.0
Comment #24
extect commentedI just upgraded to the latest versions of FileField Paths, ImageField and FileField and same problem again. I had to follow the steps in #16 to get images showing up on the edit captions page. Does really nobody know what could be causing this strange behaviour?
Comment #25
OneTwoTait commentedIt is essential and I can't fix it myself so I have to uninstall the module. :(
The current modules I'm using are:
Image FUpload 6.x-3.0-rc2
Imagefield 6.x-3.1
Fielfeild 6.x-3.1
Transliteration 6.x-2.1
Comment #26
grandcat commentedI'm sorry, I don't have the time to work on it at the moment.
Comment #27
extect commentedUnfortunately, so far I wasn't able identify what is causing this. However, #16 is a workaround I can live with. I am marking this as a bug, so perhaps somebody, who knows what to do will come back to this issue.
Comment #28
modctek commentedNot sure if this is the result of inter-connected module issues, but in troubleshooting, and reading the related modules' issues, I think this may be attributable to at least one of the following:
Hope that helps others track down and fix this bug on their sites.
Comment #29
skizzo commentedCurrently I am not using filefield_paths. Apparently I stepped into the same problem using image_fupload_imagefield alone (with cck 6.x-2.6) . Thumbnails suddenly stopped displaying: looking at thumbnail image properties I read sites/default/files/imagecache//photos/8765.jpeg (preset name is missing). I went into CCK imagefield configuration, changed the imagecache preset to new value, then changed it back to original value. That fixed it.