Page 1 of 1

Can i add images in Content

Posted: Fri Nov 01, 2013 7:01 pm
by rocketman
pretty much as what the titles says, "can i add images into my content" if so how?

i'm trying to reproduce www.gunacgme.co.nz into cms made simple so my old boss can update the site add new pictures easily. since i no longer work there

Re: Can i add images in Content

Posted: Fri Nov 01, 2013 8:38 pm
by velden
Of course you can and you have multiple ways do implement it:

1. You can enable adding images in the wysiwyg editor.
Extensions -> MicroTiny WYSIWYG editor -> Settings (tab) -> 'Allow images'

2. use {content_image} tag

3. install GBFilePicker module and add some code in template:

Code: Select all

example: 
{content_module block="filepicker_block_4" module="GBFilePicker" assign="image4" label="Logo rechts onder" mode="browser" media_type="image" dir="images"}
Option 2 and 3 need some extra 'coding' to do something useful with the image(s).

Whatever option you choose, have a look at CGSmartImage module too to make it fool proof.

Re: Can i add images in Content

Posted: Fri Nov 01, 2013 9:02 pm
by rocketman
velden wrote:Of course you can and you have multiple ways do implement it:

1. You can enable adding images in the wysiwyg editor.
Extensions -> MicroTiny WYSIWYG editor -> Settings (tab) -> 'Allow images'

2. use {content_image} tag

3. install GBFilePicker module and add some code in template:

Code: Select all

example: 
{content_module block="filepicker_block_4" module="GBFilePicker" assign="image4" label="Logo rechts onder" mode="browser" media_type="image" dir="images"}
Option 2 and 3 need some extra 'coding' to do something useful with the image(s).

Whatever option you choose, have a look at CGSmartImage module too to make it fool proof.
Cheers

Mate