Closed (won't fix)
Project:
Thickbox
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Feb 2007 at 20:48 UTC
Updated:
12 Feb 2007 at 22:11 UTC
Thickbox is activated (darken page etc.) but image is shown as text and box is under page's body. It's same with Thickbox module as well with my own implementation. Where can be problem? THX
You can see it here: http://cenasalvator.cz/?q=thickbox
PS: I now use Lightbox in gallery, but it's collide with jquery.js - I like use JQuery at all.
Comments
Comment #1
kleingeist commentedBy default the thickbox.js script determines if it should load a html page or an image by the given url of the
class="thickbox"link. It just checks if it matches the file extension of some popular formats.If this doesn't match, the script tries to load the link as pure html code which makes no sense on the image data.
You could try to extend the if clause by checking if it matches your specific link structure. For example you could try:
Or something like that.
Hope this helps.
Because this is in the thickbox.js code and not directly an drupal issue i suggest to change the Status to won't fix or something like that
Comment #2
PEpe commentedYes, it was just my problem. There was path ?q=image/view/".$image->nid." in my link ... Thank you very very much! (And maybe it will help also someone else.)