Plugin: BuddyPress Media

Join this plugin group to follow comments, support topics and reviews.

Wrong image path – can’t show picture (10 posts)

Started 1 year, 6 months ago by: Ralev

  • Profile picture of Ralev Ralev said 1 year, 6 months ago:

    Hi there!
    Plugin looks like a great idea, but I’ve stumble a major bug right from my first attempt to use it :)

    I’ve installed the plugin here : http://www.desbar.com
    and it seems to be working (admin + upload interface )
    Problem is that when image is uploaded url paths are wrong and the image can’t show anywhere ( thumb, real image ). I’ve checked the rights and all the usual suspect problems – the pic is successfully uploaded on the server and I can see it in my FTP

    Example :

    http://desbar.com/desbar/album/picture/3/

    thumb is generated as

    http://desbar.com/home/desbar/www/www/wp-content/uploads/album/1/CineMafia_Logo_final_vers-150×150.jpg

    and it should be

    http://desbar.com/wp-content/uploads/album/1/CineMafia_Logo_final_vers-150×150.jpg

    Same issue for the real photo.

  • Profile picture of Ralev Ralev said 1 year, 6 months ago:

    I temporary fixed the problem by using this solution:

    http://code.google.com/p/buddypress-media/wiki/fixingBrokenImageFileURLs

    It works for now. I’ll be waiting the update of the plugin :)

  • Profile picture of lovesaif lovesaif said 1 year, 6 months ago:

    wonderful!
    i had same problem … now fixed :)

  • Profile picture of kimi kimi said 1 year, 6 months ago:

    can anyone guide about using this method?

    http://code.google.com/p/buddypress-media/wiki/fixingBrokenImageFileURLs

    i dont really know what to edit on

    # BEGIN rewrite rules for the BP Album+ plugin:

    Redirect 301 /blah/username/blah/public_html/ http://mydomain.com/

    # END

    so do we fill the blah and username beforehand?

  • Profile picture of Nick Nick said 1 year, 5 months ago:

    This is where I am stuck as well. I have no idea what is suppose to go in the “blah” I am also guessing that “http://mydomain.com” means I suppose to put my own url ? Just a clear example would do it.

  • Profile picture of Adil Javed Adil Javed said 1 year, 5 months ago:

    i am having same problem… :(

  • Profile picture of foxly foxly said 1 year, 5 months ago:

    @whykimi
    @tastytaste
    @adiljaved

    Here’s the clearest example I can think of:

    1) If your site uses CUSTOM SUBDOMAINS for each user (username1.yoursite.com, username2.yoursite.com, etc) AND you are having file path mapping problems, there is currently no work-around for 0.1.8 …although version 0.1.9 should work properly for you, once we get it released.

    Even with version 0.1.9, you should only use custom subdomains if you have a really, really good reason to. Subdomains require *2* DNS server look-ups, and give slower page load times as a result. Your users will find the site slower, AND you will also get penalized for slow page load times by Google and other search engines.

    ===================

    2) If your site DOES NOT USE CUSTOM SUBDOMAINS, here’s how to use the URL re-mapping function:

    a) You need to find the directory that WordPress is saving bp-media’s items to. It’s usually something like “/wp-content/uploads/album”. Note that the directory will not be created until you upload your first item.

    b) Paste “http://www.yourdomain.com” + “upload directory” into the “Base URL” box. Example: “http://www.yourdomain.com/wp-content/uploads/album” note that there is NO trailing slash.

    c) Set “Use image URL re-mapping” to “Yes”

    d) Click “Save”.

    Done.

    Note that this will not fix activity stream images. We will try for that in another maintenance release, otherwise it will come out in version 0.1.9.

    Thanks!

    ^F^

  • Profile picture of Adil Javed Adil Javed said 1 year, 5 months ago:

    thanks thanks alto @foxly i really solved the problem for me :) and its so simple…. :)
    activity stream images are still not working… but its okey :) i can wait fot ver. 0.1.9 :) great work buddy. :) keep it up!

  • Profile picture of Daniel Daniel said 1 year, 5 months ago:

    I have the same problem with the activity stream not working – great plugin otherwise – when is 0.1.9 due for beta release. I seem to recall seeing somewhere that you were aiming for 16 Dec 2010 – or is that wishful thinking…:)

  • Profile picture of foxly foxly said 1 year, 5 months ago:

    @altisona

    I’m going to try and fix the activity stream thing this week.

    0.1.9 is definitely not coming out on Dec 16 …lol… we were really busy with projects at our real jobs and weren’t able to put in enough time to get it finished this month. But we’re still working on it!

    ^F^