Page 1 of 1

[??] content_image tag default behavior changed?

Posted: Mon Jul 23, 2012 7:07 am
by SanderDuif
Is it possible that the default content_image tag behavior has changed to only return an url by default?

In the changelog I can find "- Improvements to the content_image option" but nothing specificly stating that the content_image tag now returns an url by default. Also I can't find it in the documentation of the actual plugin.

Mayby I'm missing something but we're using this code on beta3:

Code: Select all

{content_image dir='images/algemeen' block='foto'}
which returns an url instead of the expected image tag as it used to do in the past.

Re: content_image tag default behavior changed?

Posted: Mon Jul 23, 2012 5:03 pm
by calguy1000
I just checked the code... {content_image} by default will return an <img> tag, unless you add the urlonly=1 parameter.

Re: [??] content_image tag default behavior changed?

Posted: Wed Jul 25, 2012 3:20 pm
by SanderDuif
You're right, the code is identical to the 1.10 version we've upgraded this test location from. Still, even with the latest beta-4

Code: Select all

{content_image block='foto'}
keeps giving only the image url.

Just checked an earlier 1.11 SVN version we still had somewhere where it works as expected. My guess is that this is an problem related to our own installation / configuration.

I'll set up a new fresh location with the latest svn and get back to your with the results.