Hi There,
Beautiful Component. I was wondering how to get my thumbs on the left or right of the larger image. I am using the Switch (swap) Image behaviour but because the thumb is below the larger image, users will not be able to see it. If I have the thumbs on the left or right of the larger image that would work out great.
Thank you!!
Image Layout
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Layout
Hi, there is no such possibility, images will be displayed below the main image (component), but you can try to use it with plugin...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
likestuff
- Phoca Professional

- Posts: 184
- Joined: 18 Jul 2008, 03:06
Re: Image Layout
Ok. If this is not possible then there really isn't much use for the Switch (swap) Image option because you can't see the main image anyway.
Can you give me a hint as to what you mean by using a plugin for this work?
Thank you!!
Can you give me a hint as to what you mean by using a plugin for this work?
Thank you!!
-
likestuff
- Phoca Professional

- Posts: 184
- Joined: 18 Jul 2008, 03:06
Re: Image Layout
Hi,
Me again. I think there may be a way around this. I am looking at the default.php template and I just want to know which portion of the code displays the thumbs. I would like to copy the code and place it where the content is RED below is. I think this will display the thumbs next to the main image. Thanks again.
<div><center class="main-switch-image"><table border="0" cellspacing="5" cellpadding="5" style="" class="main-switch-image-table"><tr><td align="center" valign="middle" style="text-align:center;width:<?php echo $switchWidth;?>px;height:<?php echo $switchHeight;?>px; background: url('<?php echo JURI::root(); ?>components/com_phocagallery/assets/images/icon-switch.gif') <?php echo $switchCenterW ;?>px <?php echo $switchCenterH;?>px no-repeat;margin:0px;padding:0px;">
<?php echo JHTML::_( 'image.site', ''.str_replace('phoca_thumb_m_','phoca_thumb_l_',$this->basicimage).'', '', '', '', '', ' id="PhocaGalleryobjectPicture" border="0"'); ?>
</td>
<td>Thumbs go here</td>
</tr></table></center></div>
Me again. I think there may be a way around this. I am looking at the default.php template and I just want to know which portion of the code displays the thumbs. I would like to copy the code and place it where the content is RED below is. I think this will display the thumbs next to the main image. Thanks again.
<div><center class="main-switch-image"><table border="0" cellspacing="5" cellpadding="5" style="" class="main-switch-image-table"><tr><td align="center" valign="middle" style="text-align:center;width:<?php echo $switchWidth;?>px;height:<?php echo $switchHeight;?>px; background: url('<?php echo JURI::root(); ?>components/com_phocagallery/assets/images/icon-switch.gif') <?php echo $switchCenterW ;?>px <?php echo $switchCenterH;?>px no-repeat;margin:0px;padding:0px;">
<?php echo JHTML::_( 'image.site', ''.str_replace('phoca_thumb_m_','phoca_thumb_l_',$this->basicimage).'', '', '', '', '', ' id="PhocaGalleryobjectPicture" border="0"'); ?>
</td>
<td>Thumbs go here</td>
</tr></table></center></div>
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Layout
the displaying of thumbnails begin below the switch image:
row FROM 65 TO 282 ... so maybe you should try to remove or change some divs or tables trs or tds
Jan
row FROM 65 TO 282 ... so maybe you should try to remove or change some divs or tables trs or tds
Jan
If you find Phoca extensions useful, please support the project
-
likestuff
- Phoca Professional

- Posts: 184
- Joined: 18 Jul 2008, 03:06
Re: Image Layout
Will try that. Thank you.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Layout
Hi,
see:
components\com_phocagallery\views\category\tmpl\default.php
see:
components\com_phocagallery\views\category\tmpl\default.php
If you find Phoca extensions useful, please support the project