CMS MADE SIMPLE FORGE

CGBlog

 

[#9933] Images not showing

avatar
Created By: Oliver Coningham (aztecmedia)
Date Submitted: Tue Apr 01 09:31:22 -0400 2014

Assigned To: Robert Campbell (calguy1000)
Version: 1.11.6
CMSMS Version: 1.11.10
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Images not showing
Detailed Description:
Hi,

There seems to be a problem with showing images that have been uploaded using
the custom fields.

The following tag shows the file name fine: {$entry->fieldsbyname.Photo->value}

However, I still need to get the file location. This tag used to work, but no
longer does: {$entry->file_location}

Oliver


History

Comments
avatar
Date: 2014-04-01 11:41
Posted By: Robert Campbell (calguy1000)

fixed in svn.
      
avatar
Date: 2014-04-01 11:46
Posted By: Oliver Coningham (aztecmedia)

Was it just the one row missing:

$onerow->file_location = $config['uploads_url'].'/cgblog/id'.$row['cgblog_id'];

From action.default.php?
      
avatar
Date: 2014-04-04 11:14
Posted By: cfarr wake (cfarrwake)

all my images load, with the exception of images for any and all summary views. 
i've gone crazy trying to figure it out.  it's just since the last update.

today, 4/4, summary images still not loading.  is there something i need to add
somewhere or update?  thanks -
      
avatar
Date: 2014-04-19 14:05
Posted By: Christian Karl (networker)

CGBlog is in repository not reacheable 
In between you can in your template replace
<img src="{$entry->file_location}/{$field->value}"/>
with
<img src="{uploads_url}/cgblog/id{$entry->id}/{$field->value}"/>
      
Updates

Updated: 2014-06-21 11:19
state: Open => Closed

Updated: 2014-04-01 11:41
resolution_id: 5 => 7
severity_id: 1 => 3

Updated: 2014-04-01 09:38
resolution_id: => 5