Can anyone point a newbie to an example that may help me out?
I’m trying to use the bootstrap.widgets.TbThumbnails widget in conjunction with images that have been uploaded using the redactor widget to display thumbnails of the uploaded images within a view.
Is there anyone out there that could supply me an example or at least point me in the right direction?
I’m new on Yii framework as well and also experienced some problems to understand how this component works.
It’s pretty simple and I’ll explain how it is working on my project.
I have a table called "images" with 3 fields (id, image_name, image_tooltip). The images are stored in a folder called "example" inside "images" folder (images/example) and the table is just to keep the name of the images that I have into this folder (image1.jpg).
I also have a view called "store.php", (protected/views/store/store.php).
Not sure if this thread is still watched upon. How can I do the same by returning images from the folder? I tried to return an array of image urls. But that doesn’t work.