Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: Cant display images in the same way?

  1. #1
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Cant display images in the same way?

    Hi all,

    On the old forums (and 99% of other forums), this would work:

    Code:
    [imga]http://www.overclockers.com.au/~mwp/gallery/pic.php?pic=Car%20Work/Mine/Celica%20RA28%20New/2005-05-28%20T3%20Camber%20Tops/dscn5323.jpg&x=640&y=480&fill=0&cache=1[/imga]
    (i used imga instead of img above otherwise the tags dont show)

    Why doesnt it in these new forums?
    There is nothing wrong with the image.

    Thanks.

  2. #2
    doctor ed Conversion King ed's Avatar
    Join Date
    Sep 2005
    Location
    Penrith BC
    Posts
    2,537

    Default Re: Cant display images in the same way?

    the url isnt that of a jpg or gif etc (even though the destination file is)...

    is it a way that new forums software is preventing bandwidth use by decreasing external linkage of uploaded attached images??
    ../delete/ban
    tech moderator
    E46 M3 Nürburgring Nordschleife - 8.38

  3. #3
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?

    As far as browsers are concerned, it is a JPG... it doesnt redirect or anything like that, it passes JPG headers and data.

    Sometimes adding "&a=.jpg" on the end of the URL works, but not here

    It wouldnt reduce traffic... its not as if the forums server gets the image then forwards it to the browser.

    I cant think of an reason as to why a forum wouldnt allow it...

  4. #4
    Forum Member Domestic Engineer Nark's Avatar
    Join Date
    Jul 2005
    Location
    ACT-ish
    Posts
    580

    Default Re: Cant display images in the same way?

    We allow linking to pix. I think it's something to do with the URL not being a link to a JPG but to a PHP page that gives you a JPEG.
    The forum software must do something strange. I haven't had time to look into it though.
    Max
    NB8B MX-5 | Fulcrum-tuned Tein SS coilovers | Weldwell Engineering 4 point Rollbar | DBA 4000 slotted rotors | Goodridge braided lines
    MY11 Skoda Octavia RS wagon | 2x ISOFIX seats | Iggle Piggle's blanket | Some breast milk stains

  5. #5
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?

    Ive got member access to the VB forums, i might have a search around for the answer.

  6. #6
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?

    Found the answer:

    Admin CP / vBulletin Options / Message Posting & Editing Options / Allow Dynamic URL for [IMG] tags = yes

    Would be awesome if you guys could change that setting

  7. #7
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?



    Sorry, just a quick test to see if its working....

    [edit]
    Ok, its not
    Can we have this changed?

  8. #8
    Roflcopter Pilot Backyard Mechanic thu187's Avatar
    Join Date
    Oct 2005
    Location
    NSW
    Posts
    247

    Default Re: Cant display images in the same way?

    Quote Originally Posted by ed_jza80
    the url isnt that of a jpg or gif etc (even though the destination file is)...

    is it a way that new forums software is preventing bandwidth use by decreasing external linkage of uploaded attached images??

    Fair enough.
    What about http://www.overclockers.com.au/~mwp/...s/dscn5322.jpg
    That should work. However it doesn't. Care to explain?

    Example -- >

  9. #9
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?

    That wont work because its a PHP generated HTML page with an image in it... that URL should never work.
    Last edited by MWP; 29-12-2005 at 07:17 PM.

  10. #10
    Yay! I'm an Automotive Encyclopaedia Hydra's Avatar
    Join Date
    Oct 2005
    Location
    SA
    Posts
    948

    Default Re: Cant display images in the same way?

    I have been having the same issues... I use gallery2 to manage my images on my website but the forum software doesn't like it too much!

    I'm sure it is possible to render the image correctly, in fact, in the editor it shows me the image (handy!) but as soon as I save it, it'll either replace the [IMG] tags with [URL] or just not show the image.

  11. #11
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Cant display images in the same way?

    Mine works on Gallery2 flawlessly. But im pretty sure i enabled saving the jpgs to reduce server load in Gallery2. That way i can reference it from the url of the JPG.

    The problem with the forums is that it doesnt parse the URL as a whole, it tries to be smart and parse through the URL as it goes, and so it hits the .php which it recognises as a destination and just gives up and assumes its a link rather than an image.

    Basically its trying to implement smarts that the designer thinks the user doesnt have, which is all well and good, except when you explicitly specify [img] tags, and then it fails. (For the software engineers this is a classic case of where tryign to be smarter than the end user fails).
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  12. #12
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Cant display images in the same way?

    Heh, nice theory takai

    Fortunatley its actually as simple as a VBB setting:

    Admin CP / vBulletin Options / Message Posting & Editing Options / Allow Dynamic URL for [IMG] tags = yes

    Happy new year

  13. #13
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Cant display images in the same way?

    Hm, that must be a new setting. Because i have an old version here (2.0) and i delved into the source code to find how it works. Good to see that they have woken up to themselves.
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  14. #14
    Forum Member Domestic Engineer Nark's Avatar
    Join Date
    Jul 2005
    Location
    ACT-ish
    Posts
    580

    Default Re: Cant display images in the same way?

    MWP,
    Thanks for finding that!
    Please give the Board some time to deliberate over this.

    There are security issues involved in allowing Dynamic URLs.
    Max
    NB8B MX-5 | Fulcrum-tuned Tein SS coilovers | Weldwell Engineering 4 point Rollbar | DBA 4000 slotted rotors | Goodridge braided lines
    MY11 Skoda Octavia RS wagon | 2x ISOFIX seats | Iggle Piggle's blanket | Some breast milk stains

  15. #15
    Junior Member Grease Monkey EvilJack's Avatar
    Join Date
    Sep 2005
    Location
    State
    Posts
    94

    Default Re: Cant display images in the same way?

    Ive come across the same thing, found in a module and the below taken from the FAQ

    How can I use Gallery 2 Images in other Websites?

    You would like to show your Gallery 2 images in another website or forum (bulletin board) or you would like to add a link on another website to a specific image / album of your Gallery 2.

    * For image links, right-click with your mouse on the image in Gallery 2 and copy the image address (most browsers offer this feature)
    * For links to a specific album / item in your Gallery 2, browse to the album / item and copy the address that is in the address bar of your browser (remove the g2_GALLERYSID= stuff, if there is any)
    * If you are wondering why the links look like main.php?g2_view=core.ShowItem&g2_itemId=35 for item links and main.php?g2_view=core.DownloadItem&g2_itemId=35 for image links: These links may look a little weird, especially the DownloadItem link since you'd expect that a image URL looks rather like album/image.jpg, but it is actually a image link. If you want nicer links that look more normal, e.g. image links that end with .jpg, then actuvate the Gallery 2 URL rewrite module in site admin -> modules
    * There is a module that prepares image and item links for you such that you don't have to right-click etc. See: Preformatted URLs Module


    I installed this module and can now right click in firefox and say "copy image location"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •