When trying to set the crosshairs on media files (file fields) the top offset always results in 100 (at the bottom) irrespetive of where I place it by dragging. The left offset is correctly set but top offset always becomes 100.

I can overwrite this by double-clicking on the crosshairs and inputting the values directly. However dragging the crosshairs always result in top offset of 100. This is only occuring for file fields (I am using node gallery file fields). It works as expected on test drive and normal image fields.

CommentFileSizeAuthor
#3 fc_file_edit_form.patch673 bytesbleen

Comments

bleen’s picture

I have tried this and I cannot reproduce. Can you give me some more detailed step-by-step instructions on how to reproduce. Screenshots are also helpful.

Also, what browser/os versions are you using?

Are you using the jquery update module?

Anything else (especially on the JS side of things) that you are doing in a non-standard way?

Are there any JS errors?

Are you using an admin theme other than "seven"?

Dante Blitz’s picture

Im using in conjuntion with node gallery module. Steps to reproduce:

1. create a new gallery. Once created I upload the pics for the gallery (gallery item content type).
2. With the pics uploaded I goto admin/content/file to manage the pictures and from there I click to edit an individual picture. Its whtin a pitures edit page that the issue occurs.

I'm testing on Firefox 26.0 and Chromium 31.0.1650.63 on ubuntu 12.04. I just realised that in Chromium the top offset is always set to 100 and in Firefox its always set to 0.

I am using the seven admin theme and no jquery update.

bleen’s picture

Status: Active » Needs review
StatusFileSize
new673 bytes

I still cannot reproduce this with FF 26.0 (on OSX at least)... but this may help. I'll probably end up committing it either way because it is a better UX when editing a file entity.

bleen’s picture

Status: Needs review » Fixed

I committed this since its generally better. Please re-open the issue if you still have your problem.

http://drupalcode.org/project/focal_point.git/commit/f0c4733

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.