Active
Project:
TinyBrowser
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 06:27 UTC
Updated:
15 Oct 2010 at 05:06 UTC
I wonder if its possible to make tinybrowser to insert image thumb instead of original image along with the link to original image.
I tried the solution provided over here : http://groups.google.com/group/tinybrowser/browse_thread/thread/e9b00fb8...
But doesn't works, coz code is not exact same as mentioned in the answer given in above link.
Any idea guys?
Thanks for any help
Comments
Comment #1
pixture commentedThe code change in the post you pointed inserts thumbnail image of the selected image instead of the original image. But it does not add the link to the original image. So this is half-way completed.
If that's enough for you, you can do the similar thing by using the TinyBrowser 1.x-6.x-dev version.
This version added imagecache support. So all you need to do is:
(1) Create thumbnail preset using imagecache.
(2) Select thumbnail preset of the image from the right-click context menu.
Tinybrowser inserts the thumbnail image using imagecache. Besides, you needs to add the link to the original image manually.
I do not think it's a good idea to use the thumbnail image under _thumb_ directory since it can be flushed by the admin and there's no guarantee that thumbnail image always exists.
Regarding the issue about inserting img tag with the anchor tag to the original image, it is not easy since the interface with TinyMCE/FckEditor/CKeditor allow you to pass only the URL of the select file. You can not pass the URL of two files (thumbnail image file and original image file).
Comment #2
Rameez commentedI guess you are right its not good idea to use the thumbnail image under _thumb_ directory.
But this feature is done in TinyMCE - MCImageManager plugin.. but that's paid one.
Comment #3
Rameez commentedhi,
This feature is implemented in imagepicker module successfully, but the only issue is with interface and the freedom for custom directory structure like tinybrowser provides.
In imagepicker module, its creating 3 images for every image we upload, one goes to thumbs for image browser, one goes to thumb to insert in post, and 3rd one the original image we upload.
Means it creates two thumb folders, separate for image browser, and one for inserting in post which links to original image, any possibility can be implement with tinybrowser?
I hope my words were not confusing. Thanks for any thoughts
imagepicker : http://drupal.org/project/imagepicker