<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Use only thumbnails for both &amp;quot;Large&amp;quot; and &amp;quot;Small&amp;quot; image inside a wysiwyg field</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Use-only-thumbnails-for-both-Large-and-Small-image-inside-a-wysiwyg-field-71136</link>
        <description></description>
        <pubDate>Tue, 13 Oct 2026 05:47:38 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Use-only-thumbnails-for-both-Large-and-Small-image-inside-a-wysiwyg-field-71136" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [aev] Use only thumbnails for both &quot;Large&quot; and &quot;Small&quot; image inside a wysiwyg field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2203291#post2203291</link>
          <description><![CDATA[Hi aev,<br /><br />I had a look and it turned out it wasn't that hard to add that, so it will be in the next beta.  Here's the code if you want to update it yourself:<br /><br />- Edit: cmsAdmin/lib/menus/default/uploadForm_functions.php<br /><br />- And replace the _showLinks() function with this code:<br /><code>//<br />function _showLinks($row) {<br />  $filename     = pathinfo($row['filePath'], PATHINFO_BASENAME);<br />  $isImage      = preg_match(&quot;/\.(gif|jpg|jpeg|png)$/i&quot;, $row['urlPath']);<br />  $hasThumbnail = $isImage &amp;&amp; $row['thumbUrlPath'];<br /><br />  // show insert | remove links<br />  $removeUrl = &quot;removeUpload('{$row['num']}', '&quot; .addcslashes(htmlspecialchars($filename), '\\\''). &quot;', this);&quot;;<br />  print &quot;&lt;a href='#' onclick=\&quot;insertUpload('&quot; .addcslashes(htmlspecialchars($row['urlPath']), '\\\''). &quot;', $isImage)\&quot;&gt;&quot; .t('Insert'). &quot;&lt;/a&gt; | &quot;;<br />  print &quot;&lt;a href='#' onclick=\&quot;$removeUrl\&quot;&gt;&quot; .t('Delete'). &quot;&lt;/a&gt;&lt;br/&gt;&quot;;<br /><br />  // show insert thumb links<br />  $thumbLinks = '';<br />  foreach (range(1,4) as $num) {<br />    $fieldname      = &quot;thumbUrlPath&quot; . (($num == 1) ? '' : $num);<br />    $thumbUrlPath   = $row[$fieldname];<br />    if (!$thumbUrlPath) { continue; }<br />    if ($thumbLinks) { $thumbLinks .= &quot; | &quot;; }<br />    $thumbLinks .= &quot; &lt;a href='#' onclick=\&quot;insertUpload('&quot; .addcslashes(htmlspecialchars($thumbUrlPath), '\\\''). &quot;', $isImage)\&quot;&gt;$num&lt;/a&gt;&quot;;<br />  }<br />  if ($thumbLinks) {<br />    print t(&quot;Thumb:&quot;) . $thumbLinks . &quot;&lt;br/&gt;&quot;;<br />  }<br /><br />  // show filename<br />  print &quot;&lt;div style='color: #666; padding-top: 1px'&gt;$filename&lt;/div&gt;&quot;;<br />}</code><br /><br />Hope that helps! Let me know if that works for you.<br />]]></description>
          <pubDate>Thu, 15 Apr 2010 12:42:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2203291#post2203291</guid>
        </item>
                <item>
          <title>Re: [aev] Use only thumbnails for both &quot;Large&quot; and &quot;Small&quot; image inside a wysiwyg field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2203287#post2203287</link>
          <description><![CDATA[Hi,<br /><br />The wysiwyg editor is actually a 3rd party editor called tiny mce, so I'm not sure we can change how it handles image sizes.  However, you can always edit an images dimensions to make it larger or smaller.<br /><br />Hope this helps.<br />]]></description>
          <pubDate>Thu, 15 Apr 2010 12:01:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2203287#post2203287</guid>
        </item>
                <item>
          <title>Use only thumbnails for both &quot;Large&quot; and &quot;Small&quot; image inside a wysiwyg field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2203262#post2203262</link>
          <description><![CDATA[Hi,<br /><br />I assume the wysiwyg field is set up to use the &quot;Resize images larger than&quot; image for it's &quot;Large&quot; image and Thumbnail 1 for it's &quot;Small&quot; image.<br /><br />Can we change this to use only &quot;thumbnails&quot; for both &quot;Large&quot; and &quot;Small&quot;, like thumb1 for large and thumb2 for small.<br /><br />This way we can set the &quot;Resize images larger than&quot; to a larger size than the wysiwyg's &quot;Large&quot; image. This is very useful if changing the design/layout of a site and we need new a &quot;Large&quot; size. We can than simply change the thumb1 size – no uploads required! [sly]<br /><br />-aev-<br />]]></description>
          <pubDate>Thu, 15 Apr 2010 04:02:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2203262#post2203262</guid>
        </item>
              </channel>
    </rss>
  