- Posts: 257
- Thank you received: 34
ACYMailing - calling 200_200_ thumbs
- Calum
- Topic Author
- Offline
- Elite Member
-
Less
More
8 years 7 months ago #102148
by Calum
ACYMailing - calling 200_200_ thumbs was created by Calum
I use AcyMailing and enabled their events_booking plugin.
It is looking for thumbnail images which are named 200_200_ then the image name.
I reported as a bug to them. They think some code on EB has changed and thumbs are handled differently. So I looked and I have a thumbs folder. But my thumbs folder is empty...
Can you explain how thumbs are handled, and I will pass on to them to update their plugin.
It is looking for thumbnail images which are named 200_200_ then the image name.
I reported as a bug to them. They think some code on EB has changed and thumbs are handled differently. So I looked and I have a thumbs folder. But my thumbs folder is empty...
Can you explain how thumbs are handled, and I will pass on to them to update their plugin.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
8 years 7 months ago #102150
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic ACYMailing - calling 200_200_ thumbs
Yes. We changed the way thumbnail filename is stored. The purpose is when admin changes thumbnail size in configuration, a new thumbnail image will be re-created with new size. Below is the code which we are using to display thumbnail image, click on will show large image in popup, it should help them correct the behavior
Regards,
Tuan
Code:
if ($event->thumb && file_exists(JPATH_ROOT . '/media/com_eventbooking/images/thumbs/' . $event->thumb))
{
if ($event->image && file_exists(JPATH_ROOT . '/' . $event->image))
{
$largeImageUri = $baseUri . '/' . $event->image;
}
elseif (file_exists(JPATH_ROOT . '/media/com_eventbooking/images/' . $event->thumb))
{
$largeImageUri = $baseUri . '/media/com_eventbooking/images/' . $event->thumb;
}
else
{
$largeImageUri = $baseUri . '/media/com_eventbooking/images/thumbs/' . $event->thumb;
}
?>
<a href="<?php echo $largeImageUri; ?>" class="eb-modal"><img src="<?php echo $baseUri . '/media/com_eventbooking/images/thumbs/' . $event->thumb; ?>" class="eb-thumb-left"/></a>
<?php
}
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Calum
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 257
- Thank you received: 34
8 years 7 months ago #102164
by Calum
Replied by Calum on topic ACYMailing - calling 200_200_ thumbs
Thank you
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
8 years 7 months ago #102226
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic ACYMailing - calling 200_200_ thumbs
Just want to update that I decided to not including thumb size in filename. So maybe you just need to access to My Downloads menu item, download latest version, upload it to the site
Then edit the event, save it again so that the thumbnail will be re-generated with new filename (without size) and the issue should be sorted
Regards,
Tuan
Then edit the event, save it again so that the thumbnail will be re-generated with new filename (without size) and the issue should be sorted
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.