Swap image not working with type=1

Phoca Gallery plugins - plugins for Phoca Gallery extension
gen72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2010, 14:16

Swap image not working with type=1

Post by gen72 »

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}
gen72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2010, 14:16

Re: Swap image not working with type=1

Post by gen72 »

Please, I need help. Any idea to solve this problem? Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Swap image not working with type=1

Post by Jan »

Hi, can I see the site where this occurs?

Jan
If you find Phoca extensions useful, please support the project
gen72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2010, 14:16

Re: Swap image not working with type=1

Post by gen72 »

Sorry, the site is in local server testing.
I will prepare a public page ... thanks
gen72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2010, 14:16

Re: Swap image not working with type=1

Post by gen72 »

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>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Swap image not working with type=1

Post by Jan »

Hi, yes, this is a feature, the switch is working only with medium thumbnails - not with small or large.

Jan
If you find Phoca extensions useful, please support the project
gen72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2010, 14:16

Re: Swap image not working with type=1

Post by gen72 »

Thanks Jan, if you update this feature please send me a notification.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Swap image not working with type=1

Post by Jan »

Ok, all news are reported here: https://www.phoca.cz/news - there is a RSS

Jan
If you find Phoca extensions useful, please support the project
Post Reply