[??] content_image tag default behavior changed?

A place to discuss issues related to CMSMS 1.11 beta versions. This forum will be heavily moderated.
Locked
SanderDuif
New Member
New Member
Posts: 9
Joined: Mon Jul 25, 2011 9:57 am

[??] content_image tag default behavior changed?

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: content_image tag default behavior changed?

Post by calguy1000 »

I just checked the code... {content_image} by default will return an <img> tag, unless you add the urlonly=1 parameter.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
SanderDuif
New Member
New Member
Posts: 9
Joined: Mon Jul 25, 2011 9:57 am

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

Post 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.
Locked

Return to “[locked] CMSMS 1.11 Beta”