In post/article images do not seem to generate links?

edited July 2014 in Modules
I'm unsure where/what I should be looking at to pinpoint this bug, but I'm hoping I could get some insight over here.

I have a module, and whenever I try and insert in article images, I see something like the following get outputted:

<img alt="" height="645" src="{img_path(distribute//profitsharechart.png)}" width="752">

Any ideas would be appreciated.

Comments

  • edited 1:07AM
    FUEL uses the img_path function to make your image paths more portable and is using the "{...}" brackets because it is using the templating syntax. If this isn't being translated on the front end, there is a model property you can set called "parsed_fields" which should include all the field names and any sort of formatter variants that you want automatically returned parsed:
    public $parsed_fields = array('content', 'content_formatted');
  • edited 1:07AM
    Thank you for the suggestion but adding that model property doesn't seem to fix the issue. Are there any approaches I can try?
  • edited 1:07AM
    How our you outputting the syntax that contains the {img_path(...)} code?
Sign In or Register to comment.