Cannot Add Image (not upload) (7 posts)

  1. lorigreenberg
    Posted 7 years ago #

    One of my contributors cannot access the "add image" screen in "add media". They get the error: you do not have permission to upload files. They don't want to upload files, they want to drop their own url into the "source" field.

    I logged in as them and confirm that error. It works fine for me under my own log-in.

    I am on wp 2.6.2, my site is http://watchmecreate.com
    I have been using Firefox.

    any suggestions?

  2. lorigreenberg
    Posted 7 years ago #

    Update: I logged in as a contributor myself and I also cannot get to the 'add image' screen. I am getting the error that I don't have permission to upload files. I don't want to upload files! Ijust want to add the URL where an image is hosted.

  3. lorigreenberg
    Posted 7 years ago #

    Update: This is happening on one of my other blogs too. Did something change within the image uploader?

  4. lorigreenberg
    Posted 7 years ago #

    Still haven't heard a suggest for the right fix for this but I managed to work around it somehow.

    I went into wp-admin.media-upload.php and commented out the line that says :

    wp_die(__('You do not have permission to upload files.'));

    The flash uploader still gives an error but the browser uploader works.

    Now, as a contributor you can upload photos, which is not what I wanted but at least they can get into the uploader now.

    Still waiting to hear for the right thing to do.

  5. Normally, only Authors and above have the capability to get to the upload files screen.

    If you want Contributors to be able to upload files, then use the Role Manager plugin to give the upload_files capability to the Contributor role.

    If you want them to not be able to upload, but only to use the manual linker at the bottom of the upload screen, well, you can't do that. WordPress does not have a distinction between these two things.

  6. lorigreenberg
    Posted 7 years ago #

    Thanks Otto.

    My contributors have been using the image uploader screen to drop in their own url to an image for months now...the images are hosted on their own site, not uploaded onto my space. I don't want contributors to have more capabilities that come with being an author or higher so that is why I haven't changed them.

    On another note...I put everything back to how it was because it was the Dagon Sitemap Generator that was interfering with the uploader. I deactivated it and all works as it was. Now I have to figure out how to get a sitemap generated or wait for them to upgrade. Come to think of it, this did start happening when the newest version of DDSitemap came out.

  7. lorigreenberg
    Posted 7 years ago #

    Sorry, I was wrong on the last one. It's not the sitemap generator. Still the same problem so back to commenting out the "wp_die" thing.

Topic Closed

This topic has been closed to new replies.

About this Topic