CMS Made Simple Forums
https://forum.cmsmadesimple.org/

[??] content_image tag default behavior changed?
https://forum.cmsmadesimple.org/viewtopic.php?f=79&t=62075
Page 1 of 1

Author:  SanderDuif [ Mon Jul 23, 2012 7:07 am ]
Post subject:  [??] content_image tag default behavior changed?

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:
\$1:
{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.

Author:  calguy1000 [ Mon Jul 23, 2012 5:03 pm ]
Post subject:  Re: content_image tag default behavior changed?

I just checked the code... {content_image} by default will return an <img> tag, unless you add the urlonly=1 parameter.

Author:  SanderDuif [ Wed Jul 25, 2012 3:20 pm ]
Post subject:  Re: [??] content_image tag default behavior changed?

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
\$1:
{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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/