Page 1 of 1

Newbie help, prob with inserting image tag?

Posted: Fri Jan 16, 2015 11:20 am
by riom
Hi guys,

I am just start out and am making a template. I wish to insert an Image tag so that an image can uploaded to a specific div in my html.

I tried adding {content_image block='image_1' label="My Image Block"} but when I go to the edit the page i get this error


My Image Block
Error retrieving file list



Any ideas what I have done wrong?

Thanks!

Re: Newbie help, prob with inserting image tag?

Posted: Fri Jan 16, 2015 6:28 pm
by velden
Try:

{content_image block='image_1' dir='images' label='My Image Block}

Re: Newbie help, prob with inserting image tag?

Posted: Fri Jan 16, 2015 6:46 pm
by Rolf

Re: Newbie help, prob with inserting image tag?

Posted: Mon Jan 19, 2015 10:02 am
by riom
Hi thanks, the following seemed to work

{content_image block="image_1" label="My Image Block" dir="images"}

but it only displays a drop down to select an image that's already in that directory.

Is there a way to create a browse button to select an image to upload instead?


thanks again

Re: Newbie help, prob with inserting image tag?

Posted: Mon Jan 19, 2015 12:36 pm
by velden
Yes, you need an extra module to make that happen:

GBFilePicker

Read the help after installing and make sure to set the right permissions so Editors can use it too.