I want the original image link so that it opens up in thickbox.
Can anyone tell me how I change it from the class="image_size_originial active" to class="thickbox".
Thanks!
I want the original image link so that it opens up in thickbox.
Can anyone tell me how I change it from the class="image_size_originial active" to class="thickbox".
Thanks!
Comments
Comment #1
drewish commentedyou should be able to do that in a theme_image_display theme funciton.
Comment #2
jrejfek commentedisn't theme_image_display is the image itself? I want to add the thickbox class to the links to larger images.
Comment #3
jrejfek commentedI am still having trouble finding where i should add thickbox to the larger or original size links. Can anyone help?
Comment #4
pillarsdotnet commentedjrejfek wrote:
Don't think so, but... (browsing thickbox.js code...)
lessee.... Should be possible by adding a few attributes...
But something is calling check_plain() on the attribute values before they get passed to the browser, so that doesn't work.
Comment #5
sunThickbox module has built-in support for this in the meantime, I think. If not, please consult Thickbox's issue queue.