I tried to implement urlManager Component, now my problem is that whenever I call this all my images on the page don’t show, If I disable it it shows again
Without rewrite my URL looks as follows
index.php?r=images/load&cid=1
with urlManager it looks like this below, whenever this is called all the images on my page disappear
gallery/category/1
My urlManager rules
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>
'gallery/category/<cid:\d+>'=>'images/
),
),
I’m completely lost, since images disappear, but cid can be read. Any help I would appreciatte. Thanks