CMS MADE SIMPLE FORGE

CGSmartImage

 

[#11729] dest_file attribute in img tag on initial image file creation

avatar
Created By: Ruud van der Velden (ruudvdvelden)
Date Submitted: Fri Feb 09 16:07:53 -0500 2018

Assigned To:
Version: 1.22.1
CMSMS Version: 2.2.5
Severity: Trivial
Resolution: Fixed
State: Open
Summary:
dest_file attribute in img tag on initial image file creation
Detailed Description:
class.cgsi_utils.php  line 809:

 $outp['dest_file'] = $dest_fname;

line 888 and further

                // now we can build the tag.
                $output = '<img';
                foreach( $outp as $key => $value ) {
if( !$value && $key != 'alt' ) continue; // empty alt is
valid... stupid, but valid.
                    $output .= ' '.$key.'="'.$value.'"';
                }
                $output .= '/>';
                $outp['output'] = $output;

<img class="news-image"
src="http://localhost/uploads/_CGSmartImage/img-22704fbf271e42ae220332ea0c720d96"
dest_file="C:\xampp7\htdocs\uploads\_CGSmartImage/img-22704fbf271e42ae220332ea0c720d96"
width="437" height="288" alt=""/>

This only seems to happen on creation of the image file. Maybe it's done on
purpose for debugging but can be unintentional left over too.


History

Comments
avatar
Date: 2018-02-09 16:30
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2018-02-09 16:30
resolution_id: => 7