dear friends ,
I has the same problem , and it was necccesary for me , so I my self started to solve it ,
here is the solution :
1.in the following file :
../components/com_profiler/plugin/user/plug_cbzoomtab/zoom.php
replace line
nearly line 108 )
$return.= "<a href=\"".sefRelToAbs("index.php?option=com_zoom".$itemurl."&catid=".$photo->catid)."\">"
with this one :
$return.= "<a href=\"".sefRelToAbs("index.php?option=com_zoom".$itemurl."&page=mmx_cb&catid=".$photo->catid)."&key={$photo->imgid}&mmxPicID={$photo->imgid}\">"
and in this file :
../components/com_zoom/zoom.php
exactly after this line (nearly line 101):
switch($page)
add these lines :
//majidmx (majidfn@yahoo.com) => added these lines so we can view the images directly from cb , by clicking on their thumbnail in zoom tab in CB
//All rights reserverd to MajiD Fatemian (majidfn@yahoo.com)
case 'mmx_cb':
$mmxPicID=mosGetParam($_REQUEST,'mmxPicID',NULL);
$mmxPicCatID=mosGetParam($_REQUEST,'catid');
for($i=0;$i<count($zoom->_gallery->_images);$i++){
$zoom->_gallery->_images[$i]->getInfo();
if($zoom->_gallery->_images[$i]->_id==$mmxPicID){
mosRedirect("?option=com_zoom&page=view&catid={$mmxPicCatID}&key={$i}");
}
}
break;
//end of majidmx(majidfn@yahoo.com)
I hope it helps you
regards
MajiD Fatemian
senior web developer
majid@parspake.com (majidfn@Y!)