ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Parse File Directories and Imgsizer

December 14, 2011 4:03pm

Subscribe [4]
  • #1 / Dec 14, 2011 4:03pm

    antiuser

    44 posts

    I’m outputting results from a query tag and naturally the images come with the {file_dir} tag attached. I know the Parse File Directories helps with that but it doesn’t seem to play well with the Imgsizer module, for instance this displays nothing:

    {exp:imgsizer:size src="{exp:parse_filedirectories}{field_id_45}{/exp:parse_filedirectories}" width="80"}
    {sized}
    {/exp:imgsizer:size}

    Does anyone have any ideas?

  • #2 / Dec 15, 2011 1:59pm

    visionpoint

    10 posts

    Have you tried using the standalone tag rather than the tag pair?

  • #3 / Feb 15, 2012 4:03pm

    lrhutcheson

    1 posts

    Just ran into this same issue.  Use ‘parse=“inward”’ in the imgsizer tag to make EE parse the parse_file_directories plugin before the imgsizer plugin .

    Ex:

    {exp:imgsizer:size src="{exp:parse_file_paths}{image}{/exp:parse_file_paths}" width="155" height="116" alt="{title}" parse="inward"}
  • #4 / Feb 15, 2012 9:22pm

    Bhashkar Yadav

    727 posts

    please try like ....

    {exp:parse_filedirectories}
     {exp:imgsizer:size src="{field_id_45}" width="80"}
      {sized}
     {/exp:imgsizer:size}
    {/exp:parse_filedirectories}

    be sure if {field_id_45} outputting correct image path.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases