Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorlipa
    • CommentTimeMar 31st 2007 edited
     # 1
    I'm having some problems with these extensions. I'm also using JQThickbox, but even when this extension is disabled the above don't work. The problem is that when I upload an image, only its filename is shown in the comment (as text when Thickbox is disabled, as a link not leading to the image when TB is enabled). Does anyone know how this could be fixed?

    • CommentAuthordhdesign
    • CommentTimeMar 31st 2007 edited
     # 2
    Do you also have the JQuery extension installed? The text in the admin panel on the Inline Images settings page states: Use ThickBox (Requires JQuery and JQThickBox extensions!). You also have to enable these extensions in the proper order - JQuery, then JQThickBox, then Inline Images.

    To have the image show up in the post, you have to use this code: [Image_%AttachmentID%] (AttachmentID being the number assigned to the attached image) in the post where you want the image.
    •  
      CommentAuthorlipa
    • CommentTimeMar 31st 2007
     # 3
    I'm aware of all of what you've written ;-)
  1.  # 4
    i'm going to assume this is ur local server and hence no way for us to help you
    • CommentAuthordhdesign
    • CommentTimeApr 1st 2007
     # 5
    I had an issue with this addon when I first installed it, and it was an error of mine that caused it. Make sure in your admin panel, in Attachment Settings, that you list the url correctly for the uploads folder, i.e.:

    /home/username/public_html/domain/support/uploads/Attachments/%year%/%userid%/

    Make sure the trailing slash is at the end of this url; otherwise, the inline images won't display.
    • CommentAuthorSeb
    • CommentTimeApr 3rd 2007
     # 6
    I'm having the same problem.
    The url for the upload-folder seems ok (the files get uploaded, and the thumbnails are there etc).
    When I'm trying to access the image through the inlineImages-phps the files seem corrupted? Can't view them in the browser. Someone got any solutions?

    Example: http://www.nordicphotogroup.com/admin/forum/extensions/InlineImages/image.php?AttachmentID=36
    •  
      CommentAuthorlipa
    • CommentTimeApr 3rd 2007 edited
     # 7
    I just can't figure it out... the path is OK though. It doesn't interfere with any other plugin. I re-uploaded Attachments, Inline Images, Multi-file Upload, JQuery, JQThickBox, deletet all the info they created in conf/settings.php and reactivated them. Still the same... and the most irritating thing about it is that they worked nicely for some time!
    •  
      CommentAuthor[-Stash-]
    • CommentTimeApr 4th 2007
     # 8
    And they just randomly stopped working? Strange...

    I'd definitely take JQuery and JQThickBox out of the equation while you get this fixed unless you need them for something else. Disable them, delete them and remove any settings from them in the settings.php file just to be sure. Once you have InlineImages working properly again, then get them back on. I say this as the author of those two plugins...
    • CommentAuthorSeb
    • CommentTimeApr 4th 2007
     # 9
    What about that the images seems corrupted when trying to download them through the inlineImages-php? Someone got any clues?
    •  
      CommentAuthorlipa
    • CommentTimeApr 5th 2007
     # 10
    At least now I know that the problemy is with the InlineImages. With only Attachments enabled, everything is as it should be. Hope i can figure it out...
    •  
      CommentAuthorlipa
    • CommentTimeApr 5th 2007
     # 11
    I give up... I just don't what could be the reason why this doesn't work. When I'm using only the Attachments extension, everything's alright - the image is downloadable. But when I enable Inline Images the only thing that is displayed is the filename (no image, no link). Could someone please help me with this?
    • CommentAuthordhdesign
    • CommentTimeApr 5th 2007
     # 12
    Lipa -

    Can you give a link to your forum so that we can check out the problem? You'll need to enable Inline Images so that the problem can be observed first-hand. Maybe then one of us can come up with a solution that works for your situation.
    • CommentAuthorSeb
    • CommentTimeApr 5th 2007
     # 13
    The exact same thing happens to me. Would realy appreciate some help.
    •  
      CommentAuthorlipa
    • CommentTimeApr 5th 2007 edited
     # 14
    The problem is that it's a closed (company) forum... and I can't allow anyone from outside the company to enter it. Sorry.
    • CommentAuthordhdesign
    • CommentTimeApr 5th 2007
     # 15
    Lipa -

    Okay, I can respect that. But there is something else you can do that might give us a clue as to what's happening.

    If you already have a post that has an image in it that will only display the filename as a link, copy the link and post it here (change the domain in the url to read "mydomain.com", but leave what comes after the domain intact so I can see the path to the file. I had a similar problem, and I'd like to see if you're having the same issue.

    Would that be possible?
    •  
      CommentAuthorlipa
    • CommentTimeApr 6th 2007 edited
     # 16
    Here it is:

    http://mydomain.com/extensions/InlineImages/image.jpg.php?AttachmentID=1
    •  
      CommentAuthorlipa
    • CommentTimeApr 7th 2007
     # 17
    * bump *
    • CommentAuthordhdesign
    • CommentTimeApr 7th 2007
     # 18
    Lipa -

    The URL is different than what I am getting on my install - mine shows http://www.mydomain.com/support/extensions/InlineImages/image.php?AttachmentID=1. The difference is in the php file called - mine is showing image.php?AttachmentID=1 and yours is showing image.jpg.php?AttachmentID=1.

    In a previous post, you said you were using the Multi-file Upload extension. Is that extension still enabled? If it is, try disabling that, Inline Images, and Attachments, then re-enable Attachments and Inline Images only, and see if the problem persists. If it does, please post the link again to the image like you did before.

    I only have Attachments and Inline Images installed (not Multi-file Upload), so I cannot test if the last one may be causing a conflict.
    •  
      CommentAuthorlipa
    • CommentTimeApr 7th 2007
     # 19
    As I stated before: I disabled all those plugins (Attachments, Multifile Upload, JQuery, JQthickbox, Inline Images), deleted them from the server, deleted all the info they created in conf/settings.php, then reuploaded (freshly downloaded form the add-ons site), enabled ONLY Attachments, tested it - worked fine, then I enabled Inline Images... after having no idea of how to fix this problem, I started this discussion. So now we're back where we started :]
    • CommentAuthordhdesign
    • CommentTimeApr 7th 2007
     # 20
    The only thing I know to tell you to do now is to contact the author of both extensions (Jazzman) and see if he can help figure this out.
    •  
      CommentAuthorlipa
    • CommentTimeApr 14th 2007
     # 21
    I still have no luck fixing this problem. I found some discussions describing the same problem (here, here, here and here), but that's what's been fixedf in the newest version of Inline Images and I'm still having the same problem...
  2.  # 22
    do u even have gd installed.

    create a new php file
    put this in it
    <?php
    var_dump(gd_info());
    ?>


    put it on ur webserver and run it from ur browser.
    and paste he result here
    •  
      CommentAuthorlipa
    • CommentTimeApr 14th 2007
     # 23
    array(12) { ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }
  3.  # 24
    ok u have gd support
    What happens if u enter the url directly in the browser
    http://localhost/vanilla/extensions/InlineImages/image.php?AttachmentID=4

    does it show the image
  4.  # 25
    plus send me the images that ur uploading and they ain't working
    •  
      CommentAuthorlipa
    • CommentTimeApr 15th 2007 edited
     # 26
    Damn! I don't think this is ever gonna work for me... more and more things are getting messed up. Think I'll try FCKeditor (with the ability to upload images) and if that fails, we'll come back to this problem. I'm extremely grateful for your patience and help!
    •  
      CommentAuthorJazzman
    • CommentTimeApr 17th 2007
     # 27
    Ok, finally I could reproduce your error... now all I have to do is found out a solution :P
  5.  # 28
    hi, i think i got a fix for this problem, as I've had it on my machine too (it's running CentOS)

    I tried every solution that was suggested (trailing slash, moving %user_id%, changing folder, disabling headers, etc), funny thing is, that attachments work fine when inline images is disabled! Its very strange, like lipa, I was at my wits end, it drove me to get it working.

    open 'extensions/InlineImages/image.php', find:

    if( $Attachment ) {
    // Init variables
    $ImagePath = $Attachment->Path;
    ....

    then just after that, add:

    header("location: ".str_replace($Configuration['APPLICATION_PATH'], "/", $ImagePath));
    // exit; //not really sure if this is required, but I put it in on mine

    I know this is an ugly hack, but it worked a treat. Instead of reading in the image and possible resizing it, i simply redirect to it. Of course, this means that the JQThickBox extension cannot be used with it, nor the max image width, but if like me, you didn't need those anyway, then all is good.
    • CommentAuthornetcorner
    • CommentTimeMay 12th 2007
     # 29
    I get the same problem with lipa,
    this is my gd_info
    array(12) { ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }

    my image url is here:
    http://www.yeeshe.com/bbs/extensions/InlineImages/image.php?AttachmentID=2
  6.  # 30
    didn't jazzman said he has been able to replicate the problem, he is going to fix it.
    • CommentAuthornetcorner
    • CommentTimeMay 12th 2007
     # 31
    good news. thank you!
    • CommentAuthorSchuer
    • CommentTimeJun 10th 2007
     # 32
    I picked up terrential2s fix and placed it at the bottom of image.php und image.jpg.php:

    ..
    header("Content-Length: ".filesize($ImagePath));
    @readfile($ImagePath);

    // fix
    header("location: ".str_replace($Configuration['APPLICATION_PATH'], "/", $ImagePath));
    }
    ?>

    Works for me.
    • CommentAuthorSchuer
    • CommentTimeJun 12th 2007
     # 33
    Update: Seems that caching won't work with this fixed method mentioned above. In addition to this, some thumbnails won't get loaded at times. But they remain clickable, and thickbox is working.
    • CommentAuthorSeb
    • CommentTimeJun 21st 2007
     # 34
    Does this work for you in IE Schuer? It only shows a small bit of the image for me, still clickable though but it's annoying that you can't see the whole thumbnail.

    Any ideas for a solution?
    • CommentAuthorSchuer
    • CommentTimeJun 21st 2007
     # 35
    Seb, it is working in IE here. Really slow, but showing all of the thumbs in their full sizes.
    Caching would be great if anyone worked out how to fix the fix ;)
    • CommentAuthorSeb
    • CommentTimeJun 22nd 2007
     # 36
    Yeah, got it working in IE too after some css-mods.
    Caching would realy be great.
    •  
      CommentAuthorzowie
    • CommentTimeDec 11th 2007
     # 37
    Hi!
    First i'd like to thank you all for this nice software, and for a very nice and polite community!

    I've been reading it a lot for a couple of days now, among other things trying to sort out the issue of this topics hedding, but I just can't get it to work...
    Of course tryed/checked all mentioned issues I could find. (and understand;)
    As Jazzman's above comment:
    Ok, finally I could reproduce your error... now all I have to do is found out a solution :P
    is quite old now, I thought I'd give it a shot and ask again:
    Any solution?

    Of topic: Could you point me in right direction what to do with an already established language-pack that I have been editing? (better and more complete translation) I don't know any php, and I havent completely rewrote it, so I thought it did'nt qualify for a new upload?

    Thanks!
    •  
      CommentAuthorzowie
    • CommentTimeDec 15th 2007
     # 38
    Whould really have good use of letting our community members show pic's with their posts! Primally reguarding buy & sell posts.
    Are there any solution to lipa's (and mine) problems with this add-on yet? Jazzman?

    Would there be any other way to accomplish this? Any other add-on?
    Any help would be very appreciated!!
    • CommentAuthorGuru06
    • CommentTimeFeb 4th 2008
     # 39
    I am having this very problem with my attachments and inline images, I guess I should remove them all and start again
Add your comments
    Username Password
  • Format comments as