Page 1 of 1

content_image tag not showing images

Posted: Sat Oct 27, 2012 12:22 am
by applejack
I have a clean install of CMS 1.11.2.1 and the content_image tag is not showing images or any output.

When editing a page the drop down lists the images. I have tried this using a very basic template and still no joy.

Code: Select all

{process_pagedata}<!DOCTYPE html>
<__html>
<head>
	<meta charset="utf-8" />
	<title>Untitled</title>
{metadata}	
</head>
</__body>

{content}
{content_image block='mainphoto1' dir='images/mainphotos' sort='1' label='Main Image 1' width='704' height='590' id='photo1'}
{content_image block='mainphoto2' dir='images/mainphotos' sort='1' label='Main Image 2' width='704' height='590' id='photo2'}

<__body>
</__html>
Anyone else having issues.

Re: content_image tag not showing images

Posted: Wed Oct 31, 2012 10:46 am
by applejack
Bump. Someone must know whether or not this works with CMS 1.11.2.1 it is part of the core so if it doesn't it is not good. I would love to use CMS 1.11+ but have come across too many bugs and incompatibilities for it to be considered ready for primetime.

Re: content_image tag not showing images

Posted: Sat Nov 03, 2012 12:46 am
by applejack
Bump...

It would be nice to hear from someone else besides the Dev's as I would like to get a user opinion and the Dev's do enough as it is.

So come on this is supposed to be a community make an effort as I try and do by helping others.

Re: content_image tag not showing images

Posted: Sat Nov 03, 2012 1:21 am
by calguy1000
Before 1.11.2 was released another dev-team member, and myself verified that {content_image} works.

Additionally, I've verified it on 2 different sites since then.

Must be something unique about your setup.

Re: content_image tag not showing images

Posted: Sat Nov 03, 2012 1:49 am
by applejack
I don't doubt you but it is somewhat odd. I would need to test this on a different server.

As mentioned in my "bug report" I use Centos 5+ and am curious as to the importance of Curl.2.19+

As I am sure you know Centos 5 is a widely used platform and so I am somewhat curious as to the fact that CMS no longer supports it. I could possibly install Curl from other repos but that involves different issues.

Re: content_image tag not showing images

Posted: Sat Nov 10, 2012 12:54 pm
by applejack
I have now tried this on a completely different server and still doesn't work. The filenames are stored in the DB it just doesn't display on the front end. Would be nice to hear from anyone else who has this working or not.

Re: content_image tag not showing images

Posted: Tue Nov 13, 2012 10:00 pm
by milehigh
Something does seem off a little off here...Try this:

{content_image block='mainphoto1' dir='images/mainphotos'}

Switch back and forth between having the image and not having it. When I had all the extra parameters..I couldn't get the image to go away...even if I selected "None"...and I didn't get it to show until I started playing with the additional parameters.

I'll try on one of my VPS's later, this was on a shared host but I'm short on time now.

Re: content_image tag not showing images

Posted: Wed Nov 28, 2012 3:59 am
by Simon66
Applejack
Not sure if you fixed this but I found a solution to make the images show up.

Code: Select all

{content_image block='leftimage' dir='images/content_images'}
The trick for me was to make the block name one word, lower case with no spaces. And secondly remove all the parameters, 'Name', 'ID','Class' etc.

This made the image show up on the page. Then I added back all the parameters (I even changed the block name) and it just kept working???

Code: Select all

{content_image block='Left Image' dir='images/content_images' label='Left Image' class='liquid' name='wibble'}

Simon66

Re: content_image tag not showing images

Posted: Wed Nov 28, 2012 4:25 am
by applejack
Thanks Simon I'll give it a go when I get the chance.