|Status:||closed (won't fix)|
I am using Lightbox2 for more than 3 years but it looks too buggy even with latest -dev now. Therefore I switch to Colorbox as a replacement for next generation. BTW, when I am using it with image.module + img_assist.module + wysiwyg.module + tinymce, Colorbox have no way to preform automatically handling on-the-fly. It would be a good idea if able to clone such handling from Lightbox2.
Patch attached is a clone based on latest colorbox image.module integration handling. It will only activate when user insert image as:
- admin/settings/img_assist -> Creation of image derivatives -> (enable) Allow users with access advanced options permission to create custom size inline images.
- admin/settings/img_assist -> Creation of image derivatives -> (enable) Allow all users to create custom size inline images.
- Image inserted with "Link to image page" OR "Go to URL" (whatever URL will replace as colorbox)
- Able to load original image unless with permission "view original images" (same as image attach integration)
Patch via colorbox-6.x-1.x-dev, tested with drupal-6.19 + image-6.x-1.0-beta6 + img_assist-6.x-3.x-dev + wysiwyg-6.x-2.1. It is now apply to my blog http://edin.no-ip.com/ as reference.