{filedir_1} being substituted for image URL in Wygwam field
Hey Low,
When I upload images to a Wygwam field in Low Variables they render fine inside Low variables, but when the variable is on a template, it shows {filedir_1} and the image reference is of course broken. Am I doing something wrong? I've tried checking and unchecking the early parse checkbox. I'm using 1.3.2 and EE 1.7.0. Thanks.
Replies
Low 10 Dec 2010 07:52
I think in this case you may need to use the module tag to display it correctly:
{exp:low_variables:parse var="my_wygwam_var"}
oxygensmith 10 Dec 2010 08:14
That fixed the problem. Thanks for the deadline-beating response, Low!
Rob (Bluedreamer) 4 Mar 2011 18:41
EE2.1.3/LV1.3.4
This problem seems to have reappeared in EE2. Have tried using {exp:low_variables} tag but this isn't working.
Any ideas?
Low 4 Mar 2011 18:48
I reckon this has something to do with Wygwam more than LV. Have you asked Brandon? You should still be using the {exp:low_variables:parse} tag, but that also means the replacing of the {filedir_x} vars should be handled by the vartype/fieldtype.
Rob (Bluedreamer) 4 Mar 2011 18:56
Thanks Low, will ask Brandon!
angieherrera 27 Apr 2011 17:06
Hey Low, I'm running into this issue too, but on EE 1.7.1, LV 1.3.5 & Wygwam 2.1.0.1.
The URL for image files ends up looking something like this: http://www.somesite.com/template-grou...
Doesn't matter if I upload a new file or use one from Wygwam's file browser.
I've tried the code two ways:
{exp:low_variables:parse var="lv_boxtext_1"}
and
{exp:low_variables:parse}
{lv_boxtext_1}
{/exp:low_variables:parse}
Any suggestions?
Low 27 Apr 2011 17:11
Hi Angie,
Brandon recently released Wygwam 2.3, which I think should solve this issue.
angieherrera 28 Apr 2011 15:52
Figures... the one bit I forgot to upgrade. Anyway, got it sorted - thanks!
Josh Brodleit 17 Mar 2017 16:26
Having same issue on
Low Variables 3.0.4
Assets 3.0.0
Wygwam 4.0.7
ExpressionEngine 3.5.2
Tried tag syntax and variable syntax (with single and parse) and still can't get image in Wygwam to show up in low variable field. Thoughts?
EEHarbor 7 Apr 2017 15:46
This has been fixed in Wygwam version 4.0.9!