Page 1 of 1

[SOLVED] Section image plugin, when adding new page..

Posted: Wed Jan 19, 2011 9:31 pm
by Lucaz
For a pharma website, I'm using the section image plugin. http://dev.cmsmadesimple.org/projects/sectionimage
This way, I can show a different image on a different page/channel. So the about page, shows the about.jpg, the contact page the contact.jpg.
It works fine until the customer added a new page called "newpage" ... I did not upload a "newpage.jpg" to the server so the new page crashes, nog showing a image...

I need a feature where 'if no image, then show default.jpg' ?

I did add a feature request on the website: http://dev.cmsmadesimple.org/feature_request/view/6025

UPDATE 23:04
This feature is working in version 0.6.1 in the plugin, just add
default_image="default.jpg"
to the tag and your ok so:
{sectionimage default_image="default.jpg" lowercase=1 get_dimensions=1 image_path=images/section/ extension="jpg"}