Forums

[resolved] How do I get a graphic to be viewed by non-members (5 posts)

  1. hroen
    Member
    Posted 2 years ago #

    I inserted some graphics into my posts, but they can only be viewed if someone is logged in as a member. I do have member only anreas of the blog, but I want people who view the public posts to be able to see the graphics. Any suggestions?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Not without a link to your site

  3. hroen
    Member
    Posted 2 years ago #

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    How are you limiting post views? If it's via a plugin, have you tried deactivating it to see if that is blocking all images?

  5. hroen
    Member
    Posted 2 years ago #

    I had to get paid help on this, here is the solution:
    -----------------------------------------
    OK, it's as I thought - the plugin that aMember works with to control image content was blocking all images, not just those for private posts.

    I installed a new plugin, called Relocate Upload (http://wordpress.org/extend/plugins/relocate-upload/) that allows you to specify a different folder for public files. This new folder is called uploads-public.

    When you upload files to this new directory, they can be seen by any user - the permissions system doesn't know about the folder. Here's an example public post with an image (you'll want to delete the image now): http://www.roenreport.com/2009/05/is-the-recession-over/

    So, to remedy the situation with your current posts:
    1. Go to each public post you have images in, and delete the image
    2. Go into the media manager and move the public files from the uploads folder to the uploads-public folder. In the media manager, click on the title of the image, then at the bottom of the page, select "public files" in the drop-down next to the "Folder" label. This will move the file for you.
    3. Go back to your public posts and re-insert the image.

    If you ever want to have images appear both in public and private posts, you'll have to create a duplicate image with a different name and upload it into both the public and private directories.

Topic Closed

This topic has been closed to new replies.

About this Topic