Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
What does mean "name_of_your_securefile_region_here" ?

I can understand name_of_your_securefile
but can understand "name_of_your_securefile_region_here"

What is mean _region_


<div class="form-group <cms:if k_error_resume >has-error</cms:if>">
<label class="control-label" for="thumbnail">Upload Your Profile Thumbnail Picture, <span class="required">Height 256 Width 222 Pixels Jpg, Jpeg file only </span></label>
<cms:input id="thumbnail" name="thumbnail" type="bound" value="" />
</div>



name_of_your_securefile_region_here is thumbnail ?

or name_of_your_securefile_region_here is ?
Hi,

Not sure about the context of your question but I'll try to answer anyways.

You must have defined a 'securefile' editable region somewhere somewhat this -
Code: Select all
<cms:editable name='my_uploaded_image' required='1' allowed_ext='jpg, jpeg, png, gif' max_size='2048' type='securefile' />
That 'my_uploaded_image' in name parameter above is the "name_of_your_securefile_region".

Every cms:editable tag defines an editable region.

Hope this is what you were looking for.
To KK & All,

<cms:editable name='my_uploaded_image' required='1' allowed_ext='jpg, jpeg, png, gif' max_size='2048' type='securefile' />

But no image show

<cms:show_securefile 'my_uploaded_image' >
<cms:dump />
</cms:show_securefile>

Its showing Like this

* show_securefile
o file_id: 53
o file_name: img01.jpg
o file_ext: jpg
o file_is_image: 1
o file_size: 18725

and you post earlier

<cms:show_securefile 'name_of_your_securefile_region_here' >
<cms:if file_is_image >
<a href="<cms:cloak_url link=file_id />"><img src="<cms:cloak_url link=file_id thumbnail='1' />" /></a><br />
<cms:show file_name /> (<cms:size_format file_size />)
<cms:else />
<a href="<cms:cloak_url link=file_id />"><cms:show file_name /></a> (<cms:size_format file_size />)
</cms:if>
</cms:show_securefile>

But I cant understand this please help
Please see
viewtopic.php?p=12865#p12865

As explained in the mentioned post, please make sure you have used either thumb_width or thumb_height parameter in the securefile region's definition.
Thank you KK

Your are great !!!

My Problem solved by you.

Thank you.
5 posts Page 1 of 1