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: Fixed
State: Closed
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.
      
avatar
Date: 2023-01-11 06:02
Posted By: Chris Taylor (chrisbt)

Thanks Fixed
      
Updates

Updated: 2023-01-11 06:02
resolution_id: 6 => 7
state: Open => Closed

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