<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Inserting photos doesn&#039;t work - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 07 Aug 2026 15:17:32 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Inserting photos doesn&#039;t work</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125356</link>
                        <pubDate>Thu, 26 Jun 2025 14:03:53 +0000</pubDate>
                        <description><![CDATA[@peter100 
Please read Tom&#039;s answer here:]]></description>
                        <content:encoded><![CDATA[<p>@peter100 </p>
<p>Please read Tom's answer here: https://gvectors.com/forum/official-wpforo-addons/discount-for-renewal/#post-38201</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125356</guid>
                    </item>
				                    <item>
                        <title>RE: Inserting photos doesn&#039;t work</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125354</link>
                        <pubDate>Thu, 26 Jun 2025 13:33:30 +0000</pubDate>
                        <description><![CDATA[@sofy Hello Sofy,Thank you, I have already purchased one add-on and may purchase another.Are there any discounts available for renewals after one year? Otherwise, multiple add-ons can become...]]></description>
                        <content:encoded><![CDATA[@sofy <br />Hello Sofy,<br />Thank you, I have already purchased one add-on and may purchase another.<br />Are there any discounts available for renewals after one year? Otherwise, multiple add-ons can become quite expensive and are not cost-effective for most websites.<br />Otherwise, it is a great plugin.]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Peter100</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125354</guid>
                    </item>
				                    <item>
                        <title>RE: Inserting photos doesn&#039;t work</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125353</link>
                        <pubDate>Thu, 26 Jun 2025 13:25:07 +0000</pubDate>
                        <description><![CDATA[@peter100 
You can also, check out the wpForo Advanced Attachments addon.]]></description>
                        <content:encoded><![CDATA[<p>@peter100 </p>
<p>You can also, check out the <a href="https://gvectors.com/product/wpforo-advanced-attachments/" target="_blank" rel="noopener">wpForo Advanced Attachments</a> addon. </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125353</guid>
                    </item>
				                    <item>
                        <title>RE: Inserting photos doesn&#039;t work</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125349</link>
                        <pubDate>Wed, 25 Jun 2025 19:01:55 +0000</pubDate>
                        <description><![CDATA[SOLVED!My fault, found the mistake. Browser translate the code in german ... &#x1f923; ---
add_filter(&#039;wpforo_content_after&#039;, &#039;wpforo_default_attachment_image_embed&#039;, 11);function wpforo_de...]]></description>
                        <content:encoded><![CDATA[<p><span style="text-decoration: underline"><strong>SOLVED!<br /><br /></strong></span><br />My fault, found the mistake. Browser translate the code in german ... &#x1f923; <br /><br /><br />---</p>
<pre contenteditable="false"><span>add_filter</span>(<span>'wpforo_content_after'</span><span>, </span><span>'wpforo_default_attachment_image_embed'</span><span>, 11</span>)<span>;<br /></span><span>function </span><span>wpforo_default_attachment_image_embed</span>( <span>$content </span>)<span>{<br /></span><span>    </span><span>if</span>( <span>preg_match_all</span>(<span>'|</span><span>&lt;a class=\"wpforo\-default\-attachment\" href\=\"(+)\"*&gt;.+?&lt;\/a&gt;</span><span>|is'</span><span>, </span><span>$content</span><span>, </span><span>$data</span><span>, </span><span>PREG_SET_ORDER</span>) )<span>{<br /></span><span>        </span><span>foreach</span>(<span>$data </span><span>as </span><span>$array</span>)<span>{<br /></span><span>            </span><span>if</span>(<span>isset</span>(<span>$array</span><span></span>))<span>{<br /></span><span>                </span><span>$file </span><span>= </span><span>$array</span><span></span><span>;<br /></span><span>                </span><span>$e </span><span>= </span><span>strtolower</span>(<span>substr</span>(<span>strrchr</span>(<span>$file</span><span>, </span><span>'.'</span>)<span>, 1</span>))<span>;<br /></span><span>                </span><span>if</span>( <span>$e </span><span>=== </span><span>'jpg' </span><span>|| </span><span>$e </span><span>=== </span><span>'jpeg' </span><span>|| </span><span>$e </span><span>=== </span><span>'png' </span><span>|| </span><span>$e </span><span>=== </span><span>'gif' </span><span>|| </span><span>$e </span><span>=== </span><span>'bmp' </span><span>|| </span><span>$e </span><span>=== </span><span>'webp' </span>)<span>{<br /></span><span>                    </span><span>$filename </span><span>= </span><span>explode</span>(<span>'/'</span><span>, </span><span>$file</span>)<span>; </span><span>$filename </span><span>= </span><span>end</span>(<span>$filename</span>)<span>;<br /></span><span>                    </span><span>$html </span><span>= </span><span>'&lt;a href="' </span><span>. </span><span>esc_url</span>(<span>$file</span>) <span>. </span><span>'" target="_blank"&gt;&lt;img class="wpforo-default-image-attachment" src="' </span><span>. </span><span>esc_url</span>(<span>$file</span>) <span>. </span><span>'" alt="' </span><span>. </span><span>esc_attr</span>(<span>$filename</span>) <span>. </span><span>'" title="' </span><span>. </span><span>esc_attr</span>(<span>$filename</span>) <span>. </span><span>'" /&gt;&lt;/a&gt;'</span><span>;<br /></span><span>                    </span><span>$content </span><span>= </span><span>str_replace</span>(<span>$array</span><span>, </span><span>$html</span><span>, </span><span>$content</span>)<span>;<br /></span><span>                </span><span>}<br /></span><span>            }<br /></span><span>        }<br /></span><span>    }<br /></span><span>    </span><span>return </span><span>$content</span><span>;<br /></span><span>}</span></pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Peter100</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125349</guid>
                    </item>
				                    <item>
                        <title>Inserting photos doesn&#039;t work</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125347</link>
                        <pubDate>Wed, 25 Jun 2025 17:23:59 +0000</pubDate>
                        <description><![CDATA[Hello,I am trying to upload a photo (attach file). Unfortunately, only the link (Displayed as a paperclip with file name) to the photo is displayed. How can the image be displayed directly i...]]></description>
                        <content:encoded><![CDATA[<p>Hello,<br /><br />I am trying to upload a photo (attach file). Unfortunately, only the link (<em>Displayed as a paperclip with file name</em>) to the photo is displayed. <br />How can the image be displayed directly in the forum?<br /><br />I found Robert's code (<strong>for functions.php</strong>, <em>but it does not work</em>).</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Peter100</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/inserting-photos-doesnt-work/#post-125347</guid>
                    </item>
							        </channel>
        </rss>
		