• Resolved onishanov

    (@onishanov)


    Hi,

    I have a problem with displaying uploaded images after refreshing the browser. At the same time there is no problems just after adding new post with uploaded image to activity stream (via ajax). Everything looks good and image has normal link to lightbox. After refreshing I still see this image but also some strange link above. Image link is broken. Html code after refreshing looks like this (I changed website adress and login/displayname):

    <div class="bpfb_images">
       <a href="https://mysite.com/wp-content/uploads/bpfb/2_0-17173600-1404479135_indexation50.png" class="thickbox" rel="a43f792dedeb39f691b3b80e27bb80c8" title="<a href=" http: mysite.com members mylogin ">mydisplayname</a>"><br>
       <img src="https://mysite.com/wp-content/uploads/bpfb/2_0-17173600-1404479135_indexation50-bpfbt.png"><br>
    </div>

    I don’t know why but code is modified – added title with wrong “href”. There are a lot of mistakes inside href tag.

    If I delete a code “. trim($img);” from the link generating in images_tag_template.php, I don’t have this problem but also don’t have the correct link. If I manually set the name like 123.pcx it works, but 123.jpg – not! I think maybe some image filter in buddypress works bad with my theme but I spent 2 full days and cannot understand these dependencies. If you have any ideas you can very help me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @onishanov,

    Greetings and thanks for posting! Sorry if you’ve had any trouble there. We’d love to help though! ??

    Could I ask for you to try switching to a default theme like Twenty Fourteen, then deactivating other plugins (except BuddyPress and Activity Plus)?

    Then try testing it with that?

    That’ll help us to quickly see if it’s related to the theme.

    Could I also ask what theme you’re using?

    Looking forward to getting this sorted with ya! ??

    Thanks,
    David

    Thread Starter onishanov

    (@onishanov)

    Thank you David ??

    I use some premium theme, if you really need it I can say you… but your advise was very helpful, I am not sure it’s important now ??

    First of all, I changed my theme to Twenty Fourteen and still have this problem. So, it is not a theme problem.

    Second, I started to deactivate plugins, one-by-one. And I found problem plugin – Lightbox Plus Colorbox! After I just return all in the start point and deactivate only Lightbox Plus Colorbox… Bingo! Activity Plus works great!

    After I’ve visited Settings area and found setting “Other” – “Do Not Display Image Title”. I checked it and now everything works just fine! That’s was solution. Thank you very much.

    Best wishes,
    Oleg.

    Hi @oleg,

    Awesome! Glad that’s sorted then and thanks for posting your solution for it. I’m sure others will find it helpful. ??

    Hope you have a fantastic day!

    Cheers!

    Thread Starter onishanov

    (@onishanov)

    Great plugin, thanks for it! Have a good day David! ??

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    You are most welcome here, if we can be of any further assistance please don’t hesitate to ask ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with images in activities after refreshing (ajax adding is ok)’ is closed to new replies.