Closed (fixed)
Project:
Thickbox
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
22 Nov 2008 at 18:51 UTC
Updated:
3 Mar 2009 at 22:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
asak commentedYes. i'm looking for this right now as well.
Using ubercart and looking to place a watermark on full-size images using thickbox + imagecache + imagefield - but can't figure out how to set the an imagecache preset for the "full size" images.
Comment #2
yakuza-fs commentedI was looking for it too... and made a custom version of Thickbox which provide you with additional selection box at admin/settings/thickbox where you can select prefered ImageCache preset to display linked images via Thickbox. This option is available only when Imagefield/ImageCache modules are installed. I was not coding for a long time, so please don't kick me if something if wrong in coding. So... I don't know how to create patches, so just download/replace these files and check Thickbox settings page.
For curious people, I have added the following code to thickbox.admin.inc
as a part of
Also, I've modified thickbox.module to proceed options above
This code was added to theme_imagefield_image_imagecache_thickbox function.
Works great!!!
This functionality is enough for me but I will probably add an option to choose different presets for each ImageField instances (far going plans).
Would be great to see this functionality in the next version of Thickbox
Comment #3
frjo commentedNeat feature! I have committed the code by yakuza-fs, with some minor modifications, to 6-dev now. Please try it out and report back here.
yakuza-fs: How to create patches http://drupal.org/patch/create
Comment #4
frjo commentedComment #5
m4rt1n commentedat the moment i am using lightbox2 because i am missing this option in thickbox. could you please also provide this for the 5.x-2.x version?
Comment #6
drewish commentedfrjo, so if you've committed it and there's been no complaints when do you close the issue?
Comment #7
frjo commentedUsually after I here back from a few people but I finally have updated my own site to Drupal 6 and this is working well there. I close this and will release a new version shortly.
Comment #8
speis commentedthis is great!