ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Displaying an Image in File Storage Trying to use getphp


  • 2015-09-06 16:06:49

    Displaying an Image in File Storage Trying to use getphp

    Hi. I have 2.0 installed and I'm trying to make a modification to where if a user uploads an image file via the assignment dropbox, it will display the image in addition to the name of the file.

    I'm showing the image like this: http://mydomain.com/mods/_standard/file_storage/index.php?ot=3&oid=128&download=1&files%5B%5D=18475

    In Chrome the image loads and displays for a brief second, then I get a broken image link and get this error in the Chrome console: GET http://mydomain.com/mods/_standard/file_storage/index.php?ot=3&oid=128&download=1&files%5B%5D=18475 net::ERR_CONTENT_LENGTH_MISMATCH

    BTW, my code works fine in FF with no console errors. This seems to only fail in Chrome. I can post my code if it would help, but do you have any ideas about this Chrome error?

  • 2015-09-14 18:19:34

    Re: Displaying an Image in File Storage (Trying to use get.php)

    Replying to bump this up the line.....

    Any thoughts here?