- Posts: 12
COMMUNITY FORUM
Zoomed image in category view
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
7 years 3 months ago #163419
by Paolo Sartori
Zoomed image in category view was created by Paolo Sartori
Hi to all,
I've two questions about the last version of K2.
I've a page that displays all the images inside a category.
For every image's tile, when the mouse is over, there are 2 links:
Zoom
View
1) I would like to hide the View button and leave just the Zoom one. Is it possible?
2) When the image is in full screen (with the Zoom button) is it possible to see a description below (for example with the place where it was taken....ecc) and the social buttons to let the users share the image?
Thank you very much
I've two questions about the last version of K2.
I've a page that displays all the images inside a category.
For every image's tile, when the mouse is over, there are 2 links:
Zoom
View
1) I would like to hide the View button and leave just the Zoom one. Is it possible?
2) When the image is in full screen (with the Zoom button) is it possible to see a description below (for example with the place where it was taken....ecc) and the social buttons to let the users share the image?
Thank you very much
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
7 years 3 months ago #163420
by william white
Replied by william white on topic Zoomed image in category view
If the page is online please send a link.
Please Log in or Create an account to join the conversation.
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163421
by Paolo Sartori
Replied by Paolo Sartori on topic Zoomed image in category view
Hi, this is the link:
www.paolosartori.net
Menu Fotografia -> Commercial or
www.paolosartori.net/index.php/fotografia-portfolio/commercial-photography
thank you
www.paolosartori.net
Menu Fotografia -> Commercial or
www.paolosartori.net/index.php/fotografia-portfolio/commercial-photography
thank you
Please Log in or Create an account to join the conversation.
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163422
by Paolo Sartori
Replied by Paolo Sartori on topic Zoomed image in category view
If you need the backend login I can give it to you in PM ; )
Please Log in or Create an account to join the conversation.
- Ronny Van Der Borght
- Offline
- Senior Member
7 years 3 months ago #163424
by Ronny Van Der Borght
Replied by Ronny Van Der Borght on topic Zoomed image in category view
This seems to be a Joomlafreak template.
You will have to dig into www.paolosartori.net/templates/jf_salina/html/com_K2/.../category_item.php to remove the view-button and then add item->introtext; ?> as the description to the modal. Look for ...
You will have to dig into www.paolosartori.net/templates/jf_salina/html/com_K2/.../category_item.php to remove the view-button and then add item->introtext; ?> as the description to the modal. Look for
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
7 years 3 months ago - 7 years 3 months ago #163426
by william white
Replied by william white on topic Zoomed image in category view
You can also inspect the page, find the element you want to hide, something like this
<a href="/index.php/fotografia-portfolio/commercial-photography/item/1-wings" class="smoothie btn btn-primary btn-white page-scroll">View</a>
If your template has a custom.css file, place a line in it to display:none the one you want to hide and override the css
<a href="/index.php/fotografia-portfolio/commercial-photography/item/1-wings" class="smoothie btn btn-primary btn-white page-scroll">View</a>
If your template has a custom.css file, place a line in it to display:none the one you want to hide and override the css
Last edit: 7 years 3 months ago by william white.
Please Log in or Create an account to join the conversation.
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163432
by Paolo Sartori
Replied by Paolo Sartori on topic Zoomed image in category view
Yes, it is.
It's a Joomlafreak template.
I will do what you've suggested to me, thank you.
In your opinion it should be possible to add the social network icons below the image?
It's a Joomlafreak template.
I will do what you've suggested to me, thank you.
In your opinion it should be possible to add the social network icons below the image?
Please Log in or Create an account to join the conversation.
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163448
by Paolo Sartori
Replied by Paolo Sartori on topic Zoomed image in category view
Hi Williamo,
I'm sorry but I didn't find the PHP file where to put this code:
<?php echo $this->item->introtext; ?> as the description to the modal.
Could you help me please?
Thank you
I'm sorry but I didn't find the PHP file where to put this code:
<?php echo $this->item->introtext; ?> as the description to the modal.
Could you help me please?
Thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163449
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Zoomed image in category view
You need to edit the item.php file.
Since this is related to a 3rd party template, please address this issue to the template's developer.
Since this is related to a 3rd party template, please address this issue to the template's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paolo Sartori
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163451
by Paolo Sartori
Replied by Paolo Sartori on topic Zoomed image in category view
OK, thank you
Please Log in or Create an account to join the conversation.