Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I have the following code for a repeatable region:
Code: Select all
<cms:repeatable name='option' label='Media Type' >
      <cms:editable name='image' label='Image' type='image' show_preview='1' preview_width='100'  col_width='150' input_width='140' />
</cms:repeatable>


the input_width attribute of the cms:editable tag is not working with or without the col_width attribute. How to get it to work?

Regards,
GenXCoders

P.S.: I am using Couch V2.0
Image
where innovation meets technology
You don't need the 'col_width' as there is only a single column in your table.
As for the 'input_width', it actually *includes* the width of the 'Browse server' button accompanying the text input.
We cannot shrink that button so the 'input_width' will appear to work only when you specify a value of approx. '141' (the width of the button) and greater.

As an example. please try this -
Code: Select all
<cms:repeatable name='option' label='Media Type' >
      <cms:editable name='image' label='Image' type='image' show_preview='1' preview_width='100' input_width='242' />
</cms:repeatable>

Hope it helps.
@KK Sir,
I actually have multiple fields of which the image field was creating problems. I should have had mentioned that. But now i that >141 should be used for the input_width to work. Thanks.

Regards,
Aashish.
Image
where innovation meets technology
3 posts Page 1 of 1
cron