#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Problem with adding...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] Problem with adding pictures to posts

    Last Post
RSS

PawelK
Posts: 14
 PawelK
Topic starter
July 27, 2020 7:33 pm
(@pawelk)
Active Member
Joined: 3 years ago

Since upgrade to 1.8x I've problem with adding pictures to posts. It is strange as old posts can display number of pictures in one post and if I copy source code of old posts to the new one I got view of the name of the picture but no picture at all. It looks like in the attachment.

 

 ProblemsWithPics.jpg
Topic Tags
image issue attachments attachments problem images missing
3 Replies
Robert
Posts: 8968
Robert - Twitter
 Robert
Admin
July 27, 2020 7:35 pm
(@robert)
Support Team
Joined: 6 years ago

Hi @pawelk,

Please update wpForo to latest 1.8.2 version.

And please leave some URL to that page. Also, make sure you don't use an old Advanced Attachments Addon.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
2 Replies
PawelK
 PawelK
(@pawelk)
Joined: 3 years ago

Active Member
Posts: 14
July 27, 2020 7:43 pm
Reply toRobertRobert

@robert I've already updated.

The forum is here https://znienacka.com.pl/index.php/forum/

This example post is here https://znienacka.com.pl/index.php/forum/sprawy-techniczne/problemy-techniczne/paged/3/#post-23655

Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8968
Robert - Twitter
July 27, 2020 8:15 pm
Reply toPawelKPawelK
Robert

@pawelk,

Ok, let's try this. Put this hook code in your current active WordPress theme's functions.php file:

function custom_wpforo_attachment_fixing( $content ){
if( strpos($content, '../') !== FALSE ){
$forum_home = home_url();
$content = preg_replace('|https*://[./]+|i', $forum_home, $content);
}
return $content;
}
add_filter('wpforo_content_after', 'custom_wpforo_attachment_fixing', 10);

How to Easily Add Custom Code in WordPress (without Breaking Your Site)

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • how to add image in the post?
    3 days ago
  • Attachments feature
    1 week ago
  • How can I download and insert images into posts?
    1 month ago
  • Linking to Bing Images caused issues
    7 months ago
  • Images warped when selecting
    10 months ago
Topic Tags:  image issue (5), attachments (19), attachments problem (3), images missing (3),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    By Noved, 14 hours ago

  • purchase of add on and it says payment pending

    By ReddBeard, 1 day ago

  • Costume text and image on every forum

    By Vijiki, 2 days ago

  • Forum topics and pages not indexing

    By Vijiki, 2 days ago

  • Can't send confirmation email from topics when suscribe for new topic

    By gilbau, 2 days ago

  • Can't add shortcodes to wpForo

    By avorai, 2 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • spam29
  • phrases28
  • forum accesses28
View all tags (2163)

Recent Posts

  • RE: Show Likers with their avatar

    Have now found the correct code 😀 are these 3 lines ...

    By Tutrix, 8 hours ago

  • RE: How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    @noved add this to custom css #wpforo #wpforo-wrap ...

    By Tutrix, 10 hours ago

  • RE: Costume text and image on every forum

    @vijiki There is no wpForo2 for the moment. Also forget...

    By dimalifragis, 23 hours ago

  • RE: Can't add shortcodes to wpForo

    @avorai So, SAC.PHP is crashing and it is wpForo the ca...

    By dimalifragis, 23 hours ago

  • RE: purchase of add on and it says payment pending

    Hi @reddbeard, Please move this topic to gVectors Sup...

    By Robert, 1 day ago

  • RE: Can't send confirmation email from topics when suscribe for new topic

    @gilbau, wpForo uses WordPress wp_mail() function. wp...

    By Robert, 2 days ago

  • RE: Forum topics and pages not indexing

    So all is ok from wpForo site. I have nothing to add he...

    By Robert, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,757 Topics
49.5 K Posts
5 Online
43.7 K Members

Latest Post: Show Likers with their avatar Our newest member: harlanleeper75 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation