Posted by alexbk66- on June 15, 2011 at 10:28am
2 followers
Jump to:
| Project: | WYSIWYG image upload - Inline images for your WYSIWYG |
| Version: | 6.x-2.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When I edit view wysiwyg_imageupload_by_node and change in field 'Wysiwyg image upload: Images', change field 'Use this imagecache preset' - the image dissapears because the file name is wrong (note %252F):
<img src="http://hobbyblob.com/sites/default/files/imagecache/wysiwyg_imageupload_preview/wysiwyg_imageupload/1/arbuz.jpg" <img src="http://hobbyblob.com/sites/default/files/imagecache/%252Fwysiwyg_imageupload/1/arbuz.jpg"
Comments
#1
Found it, last line in wysiwyg_imageupload/views/wysiwyg_imageupload_handler_field_images.inc
should be changed from:
return theme('imagecache', $this->options['preset'], $img_obj->filepath, NULL, $img_obj->title);return theme('imagecache', $this->options['wui_preset'], $img_obj->filepath, NULL, $img_obj->title);#2
Are you using 3.0, if not please upgrade. This has been fixed there
#3
Thanks Eugen, do you mean 6.x-3.0-rc2? Is there anything else why I need to upgrade? I prefer not to use rc.
#4
That rc is rather very stable and will be released as stable. And yes, there are quiet a number of fixes.
#5
I tried rc3, before update get errors :
User warning: Duplicate entry 'sites/all/modules/wysiwyg_imageupload/modules/wysiwyg_imageuploa' for key 1 query: INSERT INTO system (name, info, type, filename, status, throttle, bootstrap) VALUES ('wysiwyg_imageupload_colorbox', 'a:10:{s:4:\"name\";s:43:\"WYSIWYG Image upload - Colorbox integration\";s:11:\"description\";s:36:\"Image fullscreen popup with Colorbox\";s:12:\"dependencies\";a:2:{i:0;s:19:\"wysiwyg_imageupload\";i:1;s:8:\"colorbox\";}s:7:\"package\";s:11:\"Drupal Wiki\";s:4:\"core\";s:3:\"6.x\";s:7:\"project\";s:19:\"wysiwyg_imageupload\";s:7:\"version\";s:11:\"6.x-3.0-rc2\";s:9:\"datestamp\";s:10:\"1307015816\";s:10:\"dependents\";a:0:{}s:3:\"php\";s:5:\"4.3.5\";}', 'module', 'sites/all/modules/wysiwyg_imageupload/modules/wysiwyg_imageupload_colorbox/wysiwyg_imageupload_colorbox.module', 0, 0, 0) in _db_query() (line 147 of /home/hobbyblo/public_html/includes/database.mysqli.inc).And after:
The following queries were executedwysiwyg_imageupload module
Update #6202
No queries