Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 9

CurtisOdenTodddoncsaulericgillette +5 guests

JQThickBox

This discussion is related to the JQThickBox addon.
JQThickBox
«13

Comments

  • Posts: 2,610

    1.1.2 Released 2007-03-03

    ! Fixed to work with SirNot's PreviewPost 2.2.
    + Packed thickbox.js for even lower overhead.
    + Changed the #TB_window border as it was a bit... thick?
  • Uploaded version 1.1.3 of JQThickBox.
  • Posts: 379
    cant get it to work. not JQMedia either. I have been thourough in adding them on at a time, so it cant be that.. I have also installed Attachment, inline images (ofc) and multiple attachments..

    The problem I get (when not getting strange error messages) is that the image appears in full size with a blue border and clicking it will open it in the window by it self. IE the result is:

    <a href='url'><img src='url' /></a>

    This is the actual code, taken fram view source..:

    <a class="thickbox" rel="Comment_100" href="/fora/extensions/InlineImages/image.jpg.php?AttachmentID=29">
    <img alt="mr_do2.jpg" src="/fora/extensions/InlineImages/image.php?AttachmentID=29"/>
    </a>

    As far as i can understand, inlineimage phps arent working correctly?
  • Posts: 50
    same problem with mr do
  • Posts: 30
    i like this extension a lot -- however is there a way to set the thickbox width? if i attach an image say 500 or 600 wide, when i click on it i get a thickbox with a smaller image than the original

    thanks!
  • Posts: 2,610
    Mr Do, do you have a URL I can look at? I'm just about to release a compatibility fix with this and JQuery, so that may solve problems...

    Chanzero: ThickBox resamples images, if it has to, in order to fit the image in the window as large as it can, up to a max of the original size. If your window is too small, it will display that 500px image smaller. Max your window (or up your res) and try again, you should see that it's bigger.
  • Posts: 83
    I can't get inline images or ThickBox to work. I would really like to enable the members to add photos, but nothing seems to work. I just get an text name of the object that was suppose to be uploaded. I can give some one access to check it out. I had to turn off all the extensions, so the members are not confused by the broken features.

    http://gliving.tv/community
  • Posts: 379
    I updated jquery, installed all involved again. made sure to have enabled them in sequence.. its still not working.. cry
  • Posts: 1,799
    Mr Do in ur case, u didn't update to 1,1,2 correctly
    cause ur Global.js is missing the pathfinder function that Thickbox requires.

    thats also the reason JQmedia is not working for u. it also requires that function.
  • Posts: 379
    okies. great that we found the problem. But i dont understand quite what i did wrong.. I have downloaded and installed twice and made sure i enabled in correct way. Can i include Global.js before the line that enables thickbox manually? Global.js is included.. I need a new version of this file? or manually change it?
  • Posts: 1,799
    ur global.js is from old vanilla version
    get the new one that comes with 1.1.2

    download 1.1.2 and read about which files to upgrade. u prolly missing other stuff as well
  • Posts: 379
    ah. i was pretty sure i did that correct, but obviously i didnt. thanks for the assistance Schizo
  • Posts: 379
    there. overwrote with the 1.1.2 files (again). doesnt seem to work any different. could u check again?
  • Posts: 1,799
    ur site is working perfect.
    just clear ur cache. just tested it thickbox is working
    rejoice, go have a drink.
  • Posts: 2,610
    Thanks for helping him out Schiz ;)
  • Posts: 379
    thanks! and /blush now one part of it does seem to work. but i would contend that its still not quite there. or maybe i am missunderstanding something. Isnt the point to have tumbnails as inline images and use the javascript to display it in full? atm it shows in full size on the discussion and (if its big) smaller on the popup..
  • Posts: 1,799
    use a big size image see what happens
  • Posts: 379
    sorry for being dim here, but i have.. Tested with firefox and ie7 on a machine that has never been on my forum before so no cache problems.. on mozilla it shows the image inline in its true size and on ie7 the container for the thumbs is shrunk to 10pxs heigh, but the image is still full size..
  • Posts: 2,610
    Check out http://exhibitq.com/talk/?CommentID=3 to see it working properly (most of the time - sometimes it doesn't as it's a live test server ;)) You may need to change your Inline Images width setting to something smaller (125px is nice), but the example on your forum looks to be fine...
  • Posts: 1,799
    isn't that the problem of inline images
  • Posts: 379
    well possibly.. but if thickbox's function is to show the same image in the same or smaller size, i dont get the point of it..
  • Posts: 379
    [-Stash-] yea thats more like what i have in mind. I assumed it would make or show as thumbnail and show full size on popup.

    edit. i got it (displaying thumbnail) to work this way: i hardcoded this line in extentions/InlineImages/image.php

    $MaxWidth = 125; //$Context->Configuration['INLINEIMAGES_MAX_WIDTH'];
  • Posts: 2,610
    You should just be able to change that width in the extensions tab in your forum... look in the left panel... but anyway, that's an Inline Images support question, so if you've got a problem with that you should take it there ;) Glad it's working for you now anyway.
  • Posts: 379
    yea i know that setting, it wasnt having an effect, but i will take that issue there as you say. thanks for all help so far, and i hate to be a bother, but what about the fact that it downsizes in the popup? can this size be set. is there a max size in there somewhere perhaps?
  • Posts: 2,610
    On that link you sent me I see an image of an old computer game, when that appears in the TB it's not smaller - it's the same size. S please show me an example...
  • Posts: 2,610
    Your browser window/screen res is too low to display it full size. TB shows the source image as large as it can up to the size of the window, minus an amount of padding - this is standard behaviour for TB. On my screen the image displays at its native dimensions as I have a 1600×1200 screen resolution.

    Try making your window smaller and clicking on the file again, you will see that it's even smaller as TB automagically resizes the image to best fit in the window. This is how it's supposed to work. There may be a way to force it to display at 100% and have scroll bars, but I don't know what that option is yet. I shall have a look.
  • Posts: 379
    Ah ok. Then maybe a way of adjusting the padding would be better? And/or a direkt link to the image if u want to see full size? Anyways thanks for your assistance on this topic!
  • Posts: 2,610
    And/or a direkt link to the image if u want to see full size?
    This is beyond my coding skills, you might try asking on the TB3 Nabble thread.
  • Posts: 30
    hey stash,

    i tried resizing my window and doing so does indeed change the size of the thickboxed image, but not only is that's smaller than the inline image (which is 500px). the original is 550px =/

    http://www.popcultureshock.com/forums/discussion/1/forum-features/
  • Posts: 379
    @chanzero: looks like exactly my issue
This discussion has been closed.