It would be better if the feature stated in the title can be implemented.
And also support for Lightbox2 display :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | thumb_formatter.patch | 2.12 KB | yang_yi_cn |
It would be better if the feature stated in the title can be implemented.
And also support for Lightbox2 display :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | thumb_formatter.patch | 2.12 KB | yang_yi_cn |
Comments
Comment #1
panis commentedyou can override the function theme_imceimage_image() in you template.php file to easily give you thickbox support. thumbnails in teaser - that is a bit of work.. need to define size of thumbnail somewhere. Give option for user to pick right size - but doable. However not a priority right now based on my workload.
Your workaround is to:
- hide the field from being displayed in CCK display fields.
- update the appropriate node.tpl.php file to print a thumbnail for the image if on a teaser. You can access the path to the image URL from node->field_??????[i]['imceimage_path'] variable where ????? is your field name. replace i with 0 for the first image and appropriate index if you have more than one image attached.
Comment #2
ktleow commentedGee, thanks for the hint panis. Didn't know it can be accomplished like this ^^
For now, the LightBox2 solution I'm using is add a
rel="lightbox"into my img'snode-[type].tpl.php.Comment #3
yang_yi_cn commentedI've made a thumbnail formatter, which uses a 'thumb_' prefix, as should be defined in IMCE profiles. Patch file attached.
Comment #4
ssm2017 Binder commentedthis patch is working for me
thank you yang yi for it
Comment #5
ssm2017 Binder commentedthis patch is working for me
thank you yang yi for it
Comment #6
yang_yi_cn commentedI recently got the co-maintain right of this project, so committed and rolled a new release.