Need to add thumbnail images along with the original images
Permalink 1 user found helpful
Hi everybody,
I need to add a thumbnail images along with the original images and respective descriptions in asmiller gallery add-on, so i have used the below given code
but i am not able to add more than one image because it conflicts with each other.
I think the image field name = thumb_image should be an array. I unsure how to do this. If any has come across this problem before any help would be appriciated. I have attached a screen shot and you can easily understand my requirement by seeing it.
Thank you
I need to add a thumbnail images along with the original images and respective descriptions in asmiller gallery add-on, so i have used the below given code
<?php $ah = Loader::helper("concrete/asset_library"); echo $ah->image('thumb_image', 'thumb_image', t('Choose thumb'),$bf); ?>
but i am not able to add more than one image because it conflicts with each other.
I think the image field name = thumb_image should be an array. I unsure how to do this. If any has come across this problem before any help would be appriciated. I have attached a screen shot and you can easily understand my requirement by seeing it.
Thank you
But if all you need is a different sizes of the same image then you would probably just upload the one image and instead create the size you need at run time, using code similar to the below.