Fork me on GitHub

Images Not Displaying in MediaShare 4  Bottom

  • I installed the latest Mediashare into the latest Zikula, and for some reason, the Images are not showing up - only an X placeholder where the images should be. However, the images are showing in the upload directory, and an entry has been added to the database. If I click on the image placeholder to view, it is stuck in a perpetual "loading" mode, (Testing Very Small images - stuck for 20+ minutes...) - If I check the images in the upload folder there is nothing wrong with them, they just won't display on the site!

    I also tried enabling MediaAttach as a hook for Mediashare, but I can't tell any difference in Mediashare after adding the hook... What step am I missing? How do they work together, and how can I use MediaAttach to load images into the Mediashare folders?

    I tried MediaAttach by itself, and all of the images loaded perfectly. It would be perfect if I could somehow have everything loaded into seperate albums (not just categories) instead of one big list - like Mediashare does.

    I need to give permissions to each folder (one per user) so that I don't have to give permissions on every document uploaded.

    I've gone thru the documentation for both several times, and I must be missing something. Any help would be greatly appreciated.

    Thanks!

    PS - Using MySQL version 5.0.67, Upload & tmp folder are CHMOD 777, Files stored in folder - not database.

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • IIRC, Mediashare requires an entry in .htaccess to work properly.
  • I thought the documentation says thats only if I have the images stored in a database, and I don't...

    where do I get an .htaccess file? - I didn't see one in the download and I don't know how to
    create one.

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • Site link please.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • KWard

    I thought the documentation says thats only if I have the images stored in a database, and I don't...

    where do I get an .htaccess file? - I didn't see one in the download and I don't know how to
    create one.


    You're probably right about that. I do tend to store data in the database for ease of backup.

    Have you configured the folder location where it's supposed to be saving the images? This will likely be a different location than MediaAttach. Maybe it's not writable?
  • Yes -It must be a folder named Mediashare in the main Zikula directory. CHMOD 777,
    I see the Image files listed in the upload directory, they just don't display on site.

    MediaAttach can be whatever I name it, also CHMOD 777. I used same folder for
    MediaAttach and the images displayed correctly. - but I really need them in folders.

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • View the broken image and see what it's URL is. Maybe that will tell us something.
  • OK I think I answered my own question... MediaAttach writes its own .htaccess file for upload directory, and since I was using the same upload directory, the .htaccess file for MediaAttach would not allow access to Mediashare.

    I had to rename the directory to "delete" as the .htaccess would not allow me to delete it. Then I readded the Mediashare folder and CHMOD 777. Now the images are displaying! Hurray!

    Thanks so much for your help bronto! icon_cool

    I's still like to know how to use MediaAttach as a hook for Mediashare. - I have it enabled... but not clear what it does!

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • One more thing... is it normal for the htaccess file to be "invisible" on the server? Never noticed that before. I couldn't see the file, so I didn't realize it was there.

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • Hi KWard,
    What do you want to accomplish by hooking MediaAttach to Mediashare?

    A leading dot in a file- or directory-name on UNIX (based) systems indicates a hidden file (a so called 'dot-file').
    If you are working on a UNIX/Linux environment, you can display them using the 'a' flag with ls:
    ls -la

    Regards,
    Philipp
  • Quote

    What do you want to accomplish by hooking MediaAttach to Mediashare?


    I really liked Media Attach, and I was just wondering what capabilities it brought to Mediashare. I have it enabled as a hook, but I don't see any difference. Now that I have Mediashare working - just curious about what else it would do.

    Thanks for explaining the dot file... not sure what you mean about the 'a' flag though? Yes I am working on a Linux environment. Would I just add ls before the dot? such as: ls.htaccess ? (Sorry, but I don't know much about htaccess files. I have no idea how to create one.)

    Everything I've learned so far is by trial and error, and going thru the forums. Thanks for your help.

    --
    From the Ashes of Disaster
    Grow the Roses of Success
  • Theoretically, she could attach documents to Mediashare images, or something like that. I can imagine applications where that might make sense.

This list is based on users active over the last 60 minutes.