CMS MADE SIMPLE FORGE

Extended Content Blocks 2

 

[#12261] File selecter preview missing = in html code

avatar
Created By: Remco (flmm)
Date Submitted: Fri Feb 21 19:08:12 -0500 2020

Assigned To: Chris Taylor (chrisbt)
Version: v1.5.3
CMSMS Version: 2.2.12
Severity: Minor
Resolution: Accepted
State: Open
Summary:
File selecter preview missing = in html code
Detailed Description:
A small thing I noticed when testing the image preview.

In the class.ecb2_tools.php file there is a = missing for the preview html code
on line 320 & 322.

$preview = '<img style"max-width:200px;"

changed it to

$preview = '<img style="max-width:200px;"

Would be great to be able to set the width of the preview image somewhere. And I
changed the code a bit to use a resized image. Makes the CMS page loading a bit
faster compared to loading large images.


History

Comments
avatar
Date: 2020-02-24 05:43
Posted By: Chris Taylor (chrisbt)

Thanks - will be sorted with the next release - just a few items to finish off.

What was the code you used to use resized images. I'll add it it into the next
release also.
      
Updates

Updated: 2020-02-24 05:43
resolution_id: => 6