Links to Preview File

Home \ forums/topic \ Links to Preview File
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #151
    bdenford
    Participant

    Hi, Might be silly question time, but i am a little stumped.

    I have a folder that lists a directory of images, when i click on an image i get an error

    “Object Not Found”. I looked at the link to the file and it displayed like this

    http://192.168.101.250/intranet/databuckinghamarmsLogos/elk.jpg

    Notice that the “” are around the wrong direction, if i manually edit the path to be

    http://192.168.101.250/intranet/data/buckinghamarms/Logos/elk.jpg

    the image previews correctly.

    I am sure this is something very simple but i cannot work it out. Any help would be great.

    Thanks For your help

    ben

    #1248
    Michael Gilkes
    Keymaster

    @bdenford. Thanks for using my module. Are you running Joomla on a Windows web server? Persons with this problem normally are running their site on a windows IIS server. The issue is that Joomla uses “DS” as an alias for “DIRECTORY_SEPARATOR”, which for linux-based web server translates to forward slash or “/”, but for windows based web servers translates to backslash or “”. There isn’t much I can do about it, since Joomla uses it in its code, which I use. However, if you really need to get it working, you could edit the helper.php file and do something similar to: http://support.michaelgilkes.com/topic/hyperlink-to-files-inside-folder#post-114

    Have a look at these other posts on the issue: http://support.michaelgilkes.com/tags/backslash

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Links to Preview File’ is closed to new replies.