Using the stock gallery2embedded.php source, I have ironed out everything except the following.
For some reason, an extra slash is entered, separating my passed variables from the "main" link. As a result, the linking fails...
Has anyone else had this issue? I can't seem to find where in embed.php or gallery2embedded.php I can remove the errant slash.
The links that I am getting are:
Quote:
http://DOMAIN/index.php/?main_page=photo_gallery&g2_itemId=18
where I really want:
Quote:
http://DOMAIN/index.php?main_page=photo_gallery&g2_itemId=18
The link building element seems to add the /
$g2_Config['g2Uri'] = '/photo/';
$g2_Config['embedUri'] = '?main_page=photo_gallery';
I can't see where to rework the link and leave the "full-size" gallery as stock as possible.
Any and all insight is greatly appreciated!
Posts: 352
Your embedUri is wrong.
It need to be /index.php?main_page=photo_gallery
Steve Lineberry