- Posts: 3
- Thank you received: 0
Display image in upcoming events
- Alex
- Topic Author
- Offline
- New Member
-
Less
More
11 years 11 months ago #31435
by Alex
Display image in upcoming events was created by Alex
Hi I would like to increase the size of the image thumb on the event page, I would also like to show the thumb in the upcoming events module please see here:
89.151.83.178/~thelostg/index.php/events
Please advise.
Thanks
89.151.83.178/~thelostg/index.php/events
Please advise.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 11 months ago #31450
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display image in upcoming events
Hi Alex
In Events Booking, the size of thumbnail images for event can be changed in Configuration of the extension. Go to Events Booking->Configuration, change Thumbnail Width and Thumbnail Height parameter to meet your need. Then re-upload the thumbnail image and it will work well.
If you want to display the thumb images in up-coming events module, you will need to customize code because it is not showing in the module at the moment. The file need to be customized is modules/mod_eb_events/tmpl/default.php
Regards,
Tuan
In Events Booking, the size of thumbnail images for event can be changed in Configuration of the extension. Go to Events Booking->Configuration, change Thumbnail Width and Thumbnail Height parameter to meet your need. Then re-upload the thumbnail image and it will work well.
If you want to display the thumb images in up-coming events module, you will need to customize code because it is not showing in the module at the moment. The file need to be customized is modules/mod_eb_events/tmpl/default.php
Regards,
Tuan
The following user(s) said Thank You: Alex
Please Log in or Create an account to join the conversation.
- Alex
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 11 months ago #31457
by Alex
Replied by Alex on topic Re: Display image in upcoming events
Hi Tuan,
Thanks, sorry not sure how i missed the bit about the thumbnails, I thought it might be harder to find!
I have tried editing the file you mention by putting some code from the component in that loads the image in the event page:
<a href="<?php echo JURI::base().'media/com_eventbooking/images/'.$item->thumb; ?>" class="modal"><img src="<?php echo JURI::base().'media/com_eventbooking/images/thumbs/'.$item->thumb; ?>" class="eb_thumb-left"/></a>
But the thumb won't show up for some reason and i am not sure why? Ideally i would want the ahref to open the event also not just load a larger version...
Kind regards
Thanks, sorry not sure how i missed the bit about the thumbnails, I thought it might be harder to find!
I have tried editing the file you mention by putting some code from the component in that loads the image in the event page:
<a href="<?php echo JURI::base().'media/com_eventbooking/images/'.$item->thumb; ?>" class="modal"><img src="<?php echo JURI::base().'media/com_eventbooking/images/thumbs/'.$item->thumb; ?>" class="eb_thumb-left"/></a>
But the thumb won't show up for some reason and i am not sure why? Ideally i would want the ahref to open the event also not just load a larger version...
Kind regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 11 months ago #31461
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display image in upcoming events
Hi Alex
The field thumb is not available by default. You will need to edit the code alitle more so that you can use it in the code. Please try to get the file below, unzip it, upload to modules/mod_eb_events folder. After that, you you can try to use the code below to show the image in the module:
Hope it gives you alitle help !
Regards,
Tuan
The field thumb is not available by default. You will need to edit the code alitle more so that you can use it in the code. Please try to get the file below, unzip it, upload to modules/mod_eb_events folder. After that, you you can try to use the code below to show the image in the module:
Code:
<a href="<?php echo JURI::base().'media/com_eventbooking/images/'.$row->thumb; ?>" class="modal"><img src="<?php echo JURI::base().'media/com_eventbooking/images/thumbs/'.$row->thumb; ?>" class="eb_thumb-left"/></a>
Hope it gives you alitle help !
Regards,
Tuan
- Alex
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 11 months ago #31462
by Alex
Replied by Alex on topic Re: Display image in upcoming events
Hi Tuan,
Thanks for this!
This is really getting there! I have modified the link now so it links to the event when you click on the image it load the event rather than the thumbnail.
The only last thing is if you click the image again when you are on that page it seems to be trying to load something rather than the page you are on which is odd, worst case i can always hide the module on the event page itself..
I shall definitely be leaving you a good review in the Joomla directory thanks for your help.
Alex
Thanks for this!
This is really getting there! I have modified the link now so it links to the event when you click on the image it load the event rather than the thumbnail.
The only last thing is if you click the image again when you are on that page it seems to be trying to load something rather than the page you are on which is odd, worst case i can always hide the module on the event page itself..
I shall definitely be leaving you a good review in the Joomla directory thanks for your help.
Alex
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.