CMS MADE SIMPLE FORGE

GBFilePicker

 

[#9412] Thumbnail src attribute incorrect if uploads_url set in CMSMS config.php

avatar
Created By: Robin (Cerulean)
Date Submitted: Fri Jul 19 07:04:50 -0400 2013

Assigned To:
Version: GBfilePicker 1.3.3
CMSMS Version: 1.11.7
Severity: None
Resolution: None
State: Open
Summary:
Thumbnail src attribute incorrect if uploads_url set in CMSMS config.php
Detailed Description:
If uploads_url is explicitly set in the CMSMS config.php (even to the defaults
'uploads/' path) and root_url is not explicitly set then the src attribute of
thumbnails in the Edit Content screen and the AJAX filepicker is incorrect. The
'uploads/' portion of the thumbnails src path is missing, which causes the
'imagecorrupt.gif' placeholder to be show in the AJAX filepicker.

If the root_url is explicitly set in config.php then the thumbnail src is fixed,
but having both the uploads_url and the root_url explicitly set in config.php
prevents relative paths in TinyMCE (see bug
http://dev.cmsmadesimple.org/bug/view/9411)



History