After the IMCE file browser window loads, I don't see any buttons to add or delete files. Please see my screen shot attachment to see what I mean. This is a basic install. I haven't modified anything.

CommentFileSizeAuthor
screen_4.jpg22.06 KBstevenpatz

Comments

ufku’s picture

Are you sure the whole content of the page is visible in this window?
Upload form should be at the bottom of the page. Do you see any <form> tag in the page source?
Or does the current user have upload permission?

stevenpatz’s picture

I forgot to add that it works fine in IE. it's an issue in Firefox.

I will do some more research and answer your questions tomorrow. Thanks!

stevenpatz’s picture

I am logged in as the Admin user, so I should have permissions.

That screen shot is the whole page. No scrollbars, and I can't resize it.
This is the HTML source:

<body>
<div id="headerdiv"><table id="headertable">
 <thead><tr><th class="filename">filename</th><th class="size">size</th><th class="dimensions">dimensions</th><th class="date">date</th><th class="operations">operations</th> </tr></thead>
<tbody>
</tbody></table>

</div>
<div id="bodydiv" title="Keyboard shortcuts: UP(previous), DOWN(next), DELETE, INSERT(add)"><table id="bodytable">
<tbody>
 <tr class="odd"><td class="filename">screen.jpg</td><td class="size" id="s-4234">4.13 KB</td><td class="dimensions">200x170</td><td class="date" id="d-1170184388" title="14:13:08">2007-01-30</td><td class="operations"><a href="/example/imce/delete/screen.jpg?token=43ed7e458af2a326d9ecaf50a45cdb99">delete</a></td> </tr>
</tbody></table>

</div>
<div id="resize-bar"><div id="resize-bar-in">^</div></div>
<div id="relative-div">

  <div id="info-div">Directory: files/images
  </div>
</div>
<div id="imagepreview"><div class="messages status">
Operating in off-line mode.</div>
</div>
<div class="forms"><form action="/example/imce/upload" method="post" id="uploadform" enctype="multipart/form-data">
  <input type="file" name="thefile" id="thefile" size="30" />
  <input type="hidden" name="token" value="43ed7e458af2a326d9ecaf50a45cdb99" />
  <input type="submit" name="submit" value="Upload File" /><input type="checkbox" checked="checked" name="scale" />Scale if necessary
</form>
<div class="limits">Dimensions for scaling = <strong>200x200</strong>, Quota = <strong>4.13 KB</strong>/Unlimited</div><form action="/example/imce/resize" method="post" id="resizeform">

  <input type="submit" name="submit" value="Resize image" />
  <input type="hidden" name="token" value="43ed7e458af2a326d9ecaf50a45cdb99" />
  <span id="resize-file-span">filename:<input type="text" name="img_name" id="img_name" size="12" />
  dimensions:</span><input type="text" name="img_w" id="img_w" size="2" />x<input type="text" name="img_h" id="img_h" size="2" />
  <input type="checkbox" name="img_copy" />Create a copy
</form>
</div>
</body>
ufku’s picture

the page source seems ok. there may be some css issues, i'm not sure.
Please write your browser name, version, etc.
is this a pop up window opened from an editor? if so, try changing the window dimensions in the corresponding javascript file.
and please check if you see the same screen in:
1) pop-up from an editor
2) user page(user/x/imce)
3) direct link (your_drupal_root/imce/browse)

stevenpatz’s picture

Browser: Firefox Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

For:
pop-up from an editor This is where I am having the issues.

For:
user page(user/x/imce) I see the buttons and everything. I looks like it should.

For:
direct link (your_drupal_root/imce/browse) I see everything as it should be.

I did try to change the heightXwidth in imce_set_fck.js but it had no change.

I looked at the imce.css file but nothing stood out.

ufku’s picture

since i can't reproduce this with the same platform-browser combo, i can only suggest using the web developer extension of firefox. By this tool you can easly enable/disable javascript, css and other stuff in page. there is also a window resizing feature.
Playing with this tool may help you find out what the bug is.

Lowell’s picture

Title: Adding a file does not work. » Mine sounds like a same problem

Using Firefox and TinyMCE and IMCE when editing a node body and have enable rich-text enabled then click on the insert/edit image link I get a n insert/edit image dialog box but no way to upload.

Am I missing an installation/upgrade step?
Like the above post, when I visit imce/browse I do get the imce browsing window

Upgraded from 4.7 to 5.1 and installed the moxie and imce modules

Any help will be appreciated

ufku’s picture

Title: Mine sounds like a same problem » Upoad form problem with Firefox
Priority: Critical » Normal

you need the patch at http://drupal.org/node/116837 for moxie.
and remember that changing a title for an issue follow-up changes the issue title.

Lowell’s picture

ooh, thanks about the title thing, I didn't know that

I switched from moxie to the tinymce and got it working
was I suppposed to be able to do that?

Only glitch I have now is that the tinymce dialog box doesn't close when I click on insert or close, I have to insert and then click the x on the top right of the window.

ufku’s picture

IMCE has built-in support for tinymce and fckeditor modules. Any other module requires manual integration, like in moxie.

For the window closing glitch you should search tinymce issues or forum to see if anyone has/had the same problem.

Lowell’s picture

Glitch is gone, must have been my browser.

Everything seems to be working good now, and I'd say much better than with 4.7

Great work, congratulations to everyone involved

Lowell’s picture

Status: Active » Fixed
stevenpatz’s picture

Status: Fixed » Active
stevenpatz’s picture

Status: Active » Closed (fixed)