Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Tested on Opera and FF3 on Linux.
Versions:
Image 6.x-1.0-alpha4
Image FUpload (image) 6.x-3.0-rc2
I see:
Images
Click the "Select Images" icon on the left below to begin.
But there is no icon to see. It is referenced in the JS within the HTML.
Also, when I relode node/add/image it seems as if the browser tries to display something over the "cancel all uploads" button, but there is only a whie flicker and then no image.
Comments
Comment #1
grandcat CreditAttribution: grandcat commentedThis is not a bug.
Perhaps, some files are missing. Please check if you can find a .png file somewhere in the module's directory.
Also check if this is a special apache settings (mod_rewrite) which is causing that.
Comment #2
grandcat CreditAttribution: grandcat commented#450444: no SelectImages icon
Comment #3
jericho711 CreditAttribution: jericho711 commentedIt is not working for me eaither and I've checked for the png file and mod_rewrite. I have made sure permissions settings are activated....
Comment #4
grandcat CreditAttribution: grandcat commentedHave a look at your status page, are there any error messages?
Comment #5
edib CreditAttribution: edib commentedThanks!
Image FUpload Missing or wrong files in subdirectory "swfupload"
Some needed files which are not bundled with this module, are missing or out-of-date! This can be either "swfupload.swf", "swfupload.js" or "swfupload.queue.js" which should be located in "sites/all/modules/image_fupload/swfupload/". These files can be downloaded from SWFUploads project page. Note: Version 2.2.0 or higher is needed.
Comment #6
earthday47I fixed this, and I had a few problems.
The first was that I mistakenly deleted all the files in the modules/image_fupload/swfupload directory.
I located the error because handlers.js could not be found.
So, I deleted the module folder, untar-ed the install, and then downloaded SWFUpload 2.2.0.1 from Google Code and specifically moved only those three files mentioned in the documentation.
I had to clear my browser cache to make sure it worked.
Another point: I would recommend adding on the project page exactly where the files are in the SWFUpload Core package a la WYSIWYG module's installation documentation.
Hope that helps.
Comment #7
kviaene CreditAttribution: kviaene commentedTurning of the Theme Developer module fixed it for me.
Comment #8
joey santiago CreditAttribution: joey santiago commentedi have those files in my module directory... duble checked and re-uploaded them! :)
i tried to open the page with the firebug extension on my firefox. actually, the Click the swfupload.swf, swfupload.js and swfupload.queue.js files are correctly loaded on the page, at least, it seems... but the select_images.png image is not requested, even though it is in the sites/all/modules/image_fupload/swfupload/ directory...
Can anyone help me out, please?
thanks
Comment #9
sydneyshan CreditAttribution: sydneyshan commentedThanks kviaene - this fixed it for me, too. Cheers!
Comment #10
resmonde CreditAttribution: resmonde commentedYep, thanks kviaene - turning off Theme developer did it for me also.
Comment #11
supersteph CreditAttribution: supersteph commentedImage 6.x-1.0-beta5
Image FUpload 6.x-3.0-rc2
sites/all/modules/image_fupload/swfupload dir contains:
select_images.png
swfupload.js
swfupload.queue.js
swfupload.swf
the node/add/image page provides me with a dropdown to select a gallery, but other than that i have no image options. the select button does not appear, though the directive to click it does.
I'm not using Theme developer.
I have re-uploaded both the module and the swf components.
I'll soon not have any more hair to pull out...help!
Comment #12
grandcat CreditAttribution: grandcat commentedPlease try using the default garland theme. Does it help?
Comment #13
Big Z CreditAttribution: Big Z commentedHi all,
I had exactly the same problem and traced it to a javascript event handler issue. Image FUpload initialises itself by setting the window.onload handler.
Later in my theme however, I had
<body onload="skiptocontent()">
This effectively replaces the the function set by Image FUpload and hence the "select images" icon does not appear.
I solved this problem by using a great little script by Simon Willison which can be found here.
Hope this helps.
Professional Drupal Development
www.vitalatus.co.uk
Comment #14
jaydj CreditAttribution: jaydj commented@big Z where exactly did you place that javascript code ?
Comment #15
jaydj CreditAttribution: jaydj commentedUpdate: turning off Theme developer and emptying my cache did the trick.
There's a new release of SWFUpload: (v2.5.0 Beta 2 Core)
but I'm sticking to what I just made it work for now. (SWFUpload v2.2.0.1 Core)
Comment #16
supersteph CreditAttribution: supersteph commentedi disabled, uninstalled and deleted image and image fupload; deleted the image content type and started from scratch.
now it works. go figure.
Comment #17
Big Z CreditAttribution: Big Z commentedJust add the addLoadEvent.js javascript file to the template.php file in your theme. The best way to do this is with the drupal_add_js function. Then replace any assignment of the window.onload handler with a call to addLoadEvent. E.g.
window.onload=skipToContent;
becomes
addLoadEvent(skipToContent);
and
becomes
Professional Drupal Development
www.vitalatus.co.uk
Comment #18
agnese.stelce CreditAttribution: agnese.stelce commentedYes, theme developer off helped for me too.
Comment #19
manuel.solis CreditAttribution: manuel.solis commentedYou have to install the IMAGE FUpload MODULE properly.
From the readme.txt:
INSTALL
--------------------
1.) Copy this directory to a suitable modules directory,
such as sites/all/modules
2.) Download SWFUpload-Core v2.2.* at http://code.google.com/p/swfupload/ and extract
the following files from the zip file: swfupload.swf, swfupload.js, swfupload.queue.js
Put these files into sites/all/modules/image_fupload/swfupload subdirectory
3.) Activate the module and its submodules (if needed) in the module list.
(dependency: image module or/and imagefield module)
4.) Now, the module is active and can be used at node/add/image,
if image module is used. If imagefield module is used, the widget of one imagefield of
any content type has to be replaced by 'image fupload' widget.
5.) Access Permissions have to be set by using the corresponding configuration pages
of the used modules.
This fixed my problems!
Comment #20
stevenaburton CreditAttribution: stevenaburton commentedI had the same problem and it was caused by the javascript that is required to make external links pop into a new window in an xhtml compliant way with a rel="external" attribute in a tag:
function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; iThis script overides the onload event, as Big Z mentioned in #13. Removing the script solved the problem with the upload image icon. We haven't tried the workaround mentioned by Big Z yet.
Comment #21
capellicI struggled with this for a long time. Not only was the icon not showing up, none of the Flash embed code for the icon was showing up. I was also having login problems after upgrading to 6.17 and then I realized that the $cookie_domain variable int he settings.php file (sites/default/settings.php) was wrong. I fixed the login problem and a light bulb went off in my head -- Flash is very fussy about "cross domain" stuff.
Most installs don't have the $cookie_domain variable set, but this site did. I changed this:
to this:
Then the icon showed up and bulk uploading works!!!
Comment #22
capellicWell, I spoke too soon and the $cookie_domain variable may not have anything to do with it. Apparently the icon only appears if I'm editing an existing gallery. If I'm adding a new node, it will not appear. I've used this module on several sites without incident -- baffled by this one.
Comment #23
granttoth CreditAttribution: granttoth commentedI fixed this by hacking the swfupload-settings.tpl.php a bit. This is the simplest way I could see.
On line 11 or so I changed
window.onload = function() {
to justfunction swfuploadload() {
Then in my body tag of my themes page.tpl.php where my previous onload is I added my new function after a semi colon.
Comment #24
resmonde CreditAttribution: resmonde commentedThanks Manuel. Working on a new install of Drupal for a new project and your advice about RTFM worked. Hate reading the instructions, but they certainly help!
Comment #25
jjkktr CreditAttribution: jjkktr commentedThanks manuel, Now its working for me. May be this issue happening from people those who are missing some steps while installation.
Comment #26
relentlessness CreditAttribution: relentlessness commentedJust for any fellow noobs, I thought I had a similar problem, the js icon was simply not showing outside of user1. In the end I realised that I didn't update the role profile settings in admin>site config>IMCE
Comment #27
HS CreditAttribution: HS commentedComment #28
trinsic CreditAttribution: trinsic commentedIm having some same trouble with this. I have everything installed correctley as far as I know based on what people have posted here. The problem is im getting some kind of javascript error:
fileQueued is not defined
file_queued_handler : fileQueued,
anyone have any ideas on how i can fix this?
Comment #29
trevorforrest CreditAttribution: trevorforrest commentedTry installing and enabling the Javascript Tools Module. This seemed to solve the problem for me.