tanphatle
(Letanphat0706)
1
I had uploaded images on database and now i want to use those images become the banner slider. How to do that with Yii framework? please help me.
This is the original code:
$image_url = Yii::app()->baseUrl . '../images/wowslider/'
$image_arr[] = array(
'title' => 'Bream bay',
'desc' => 'Bream Bay From The Brynderwyn Ranges',
'image' =>$image_url.'bream_bay.jpg');
Uploaded to database as BLOB ?
or
to folder?
tanphatle
(Letanphat0706)
3
Thanks for reply, I had uploaded to folder in webroot
Okay. thats better approach.
kristan
(Kristankelsch87)
5
Quite better approach…it has helped me too…