Posted by Jochus on October 27, 2011 at 1:25pm
2 followers
Jump to:
| Project: | ImageField |
| Version: | 6.x-3.10 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
We just uploaded 114 images in the ImageField CCK field by using Image Fupload. Works like a charm. After a node save, everything works perfectly.
But, when I edit my node, it takes a very long time till all pictures are rendered. It seems to me that the Javascript which takes care for the "sorting part" takes a lot of process energy of the browser.
Is this normal behavior? Or can I tweak this?
Jochen
Comments
#1
Yes this is a common problem with the tabledrag feature, it affects any table that has a huge number of rows like this. I'm not sure what you can do, perhaps you could disable the JavaScript for the dragging feature, but it's useful enough that you may want to keep it and tolerate the slowdown.
#2
Can you explain me how I could disable the Javascript for the dragging feature?
Can we configure this for the Image field? Or is this a global setting?
#3
It's neither a configuration option for the Image field nor a global setting, you have to disable it through code. You could use something like this anywhere in your template file to delete the table drag configuration for a field:
<script type="text/javascript">delete Drupal.settings.tableDrag.field_name;
</script>
#4
quicksketch,
Okay thanks!
Jochen