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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Lucaz
Forum Members
Forum Members
Posts: 66
Joined: Fri Dec 01, 2006 9:56 pm
Location: Netherlands

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

Post 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"}
Post Reply

Return to “Modules/Add-Ons”