Hello, I have a web page where I use phoca gallery plugin.
I want to display images from a category in small size with swap option.
This is the code, if I mouse over the small thumb nothing happens. If I change type=1 for type=0 (or detele this parameter) the swap works fine! Help please. Thanks
{phocagallery view=switchimage|switchheight=128|
switchwidth=128|basicimageid=11}
{phocagallery view=category|categoryid=8|
limitstart=0|limitcount=6|detail=0|displayname=1|
displaydetail=1|displaydownload=1|
imageshadow=shadow1|enableswitch=1|type=1}
Swap image not working with type=1
-
- Phoca Newbie
- Posts: 7
- Joined: 10 Jun 2010, 14:16
Re: Swap image not working with type=1
Please, I need help. Any idea to solve this problem? Thanks
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Swap image not working with type=1
Hi, can I see the site where this occurs?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 10 Jun 2010, 14:16
Re: Swap image not working with type=1
Sorry, the site is in local server testing.
I will prepare a public page ... thanks
I will prepare a public page ... thanks
-
- Phoca Newbie
- Posts: 7
- Joined: 10 Jun 2010, 14:16
Re: Swap image not working with type=1
Here is the code generated by phocagallery plugin.
The first is generated with type=0 (the thumb is medium and on mouse over calls PhocaGallerySwitchImage function.
The second is with type=1 (the thumb is small and no onmouse function is called!)
<a class="modal-button" title="bvnfg" href="/voramar/component/phocagallery/1-armarios/detail/2-bvnfg?tmpl=component&detail=0&buttons=1" rel="{handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.3}" onmouseover="PhocaGallerySwitchImage('PhocaGalleryobjectPicture', '/voramar/images/phocagallery/thumbs/phoca_thumb_l_joomla_logo_black.jpg');" >
<img src="/voramar/images/phocagallery/thumbs/phoca_thumb_m_joomla_logo_black.jpg" alt="bvnfg" /></a>
<a class="modal-button" title="bvnfg" href="/voramar/component/phocagallery/1-armarios/detail/2-bvnfg?tmpl=component&detail=0&buttons=1" rel="{handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.3}" >
<img src="/voramar/images/phocagallery/thumbs/phoca_thumb_s_joomla_logo_black.jpg" alt="bvnfg" width="50" height="50" /></a>
The first is generated with type=0 (the thumb is medium and on mouse over calls PhocaGallerySwitchImage function.
The second is with type=1 (the thumb is small and no onmouse function is called!)
<a class="modal-button" title="bvnfg" href="/voramar/component/phocagallery/1-armarios/detail/2-bvnfg?tmpl=component&detail=0&buttons=1" rel="{handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.3}" onmouseover="PhocaGallerySwitchImage('PhocaGalleryobjectPicture', '/voramar/images/phocagallery/thumbs/phoca_thumb_l_joomla_logo_black.jpg');" >
<img src="/voramar/images/phocagallery/thumbs/phoca_thumb_m_joomla_logo_black.jpg" alt="bvnfg" /></a>
<a class="modal-button" title="bvnfg" href="/voramar/component/phocagallery/1-armarios/detail/2-bvnfg?tmpl=component&detail=0&buttons=1" rel="{handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.3}" >
<img src="/voramar/images/phocagallery/thumbs/phoca_thumb_s_joomla_logo_black.jpg" alt="bvnfg" width="50" height="50" /></a>
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Swap image not working with type=1
Hi, yes, this is a feature, the switch is working only with medium thumbnails - not with small or large.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 10 Jun 2010, 14:16
Re: Swap image not working with type=1
Thanks Jan, if you update this feature please send me a notification.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Swap image not working with type=1
If you find Phoca extensions useful, please support the project