ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Wiki image URLs not correct?

August 31, 2010 11:10am

Subscribe [4]
  • #1 / Aug 31, 2010 11:10am

    Addison

    59 posts

    I must admit that this is the first time I’ve ever set up a wiki, but I’m confused as to how the image display works. I’ve created a specific upload directory just for the wiki, and it seems to work fine except for the fact that the images will not display. They simply appear as “broken”—you know, the URL seems incorrect.

    I also noticed that the files are uploading to the directory without file extensions. So my “image-file.png” is simply “image-file”. Is this correct behavior?

    And the wiki image output is apparently different from embedding within a weblog or channel. It seems to be encoded…

    Anyway, I really don’t have a clue as to what is happening, and the EE forms, wiki, and docs don’t seem to address this anywhere.

    Oh, and we’re using Textile for the markup in the wiki.

  • #2 / Aug 31, 2010 4:46pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Do you’ve got a link?

  • #3 / Aug 31, 2010 4:57pm

    Addison

    59 posts

    Hey, Ingmar. We’re still testing, but here’s the wiki sample page:

    http://baronservices.ehclients.com/index.php/wiki/test

    I’ve got it set so that only super admins can do anything.

    I’m on EE 2.1.0, build 20100720. The wiki is 1.2.

    Thanks!

  • #4 / Sep 01, 2010 3:53am

    John Henry Donovan

    12339 posts

    Addison,

    Can you upgrade EE to most recent version please.
    Also can you show us the Textile syntax you using to link to the image file?

    The most current version of the Wiki Module is 2.1. Was this a mistype by yourself?
    Is this a fresh install or an upgrade of EE?

  • #5 / Sep 01, 2010 9:43am

    Addison

    59 posts

    Hey, John—we should be on the latest version of EE. And this is copied from the footer of the wiki:

    ExpressionEngine Wiki - Version 1.2

    But under the module list it shows 2.1—sorry about that.

    You’ll see that I finally got an image to show up using Textile:

    http://baronservices.ehclients.com/index.php/wiki/test

    I had to use !/images/wiki/image-name! with no file extension. However, I think we’d find it easier by just using the standard “Add file” and “Add image” method. Neither of these…

    [[Image:image_name.png]]
    [[Image:image_name]]

    ...seem to work.

    There is a new build, so I’ll update today as soon as I can.

  • #6 / Sep 01, 2010 4:40pm

    Brandon Jones

    5500 posts

    Thanks Addison, keep us posted.

  • #7 / Sep 21, 2010 1:03pm

    Addison

    59 posts

    Wow. Sorry to take so long…

    I’ve finally upgraded to the latest build and still no images. Additionally, the wiki occasionally give two PHP errors:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: width
    
    Filename: libraries/EE_Typography.php
    
    Line Number: 1053

    And:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: height
    
    Filename: libraries/EE_Typography.php
    
    Line Number: 1053

    See here: http://baronservices.ehclients.com/index.php/wiki

    Thanks,
    Addison

  • #8 / Sep 22, 2010 3:06am

    John Henry Donovan

    12339 posts

    Addison,

    I can replicate the php errors after hitting submit. I created a bug report here on your behalf.

    Can I confirm that this is how you are adding an image please.

    On the article Edit page click on View 10 Most Recent File Uploads. If you need an older file click on Uploaded Files in the navigation and then select file. You’ll see the appropriate code to use to call that file or image. See attached

    [[File:image_name.jpg]]
    [[Image:image_name.jpg]]
  • #9 / Sep 22, 2010 10:37am

    Addison

    59 posts

    Thanks, John. Yes—I’m adding images (or files) exactly as you describe and neither seem to work.

    I’ve also looked in the upload folder on the server, and files are being saved to the folder without file extensions (for example, some-file.jpg is saved as some-file). Not sure if that’s normal behavior.

    -Addison

  • #10 / Sep 22, 2010 11:22am

    John Henry Donovan

    12339 posts

    Addison,

    Bug report was an actual duplicate of another one so closing this thread out as it has been fixed for next release. Feel free to start a new thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases