Other way to bring the Event thumb imd —> JUri::root().'/media/com....

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 1 month ago - 2 years 1 month ago #149549 by Patrick Toulze
Is this the correct way to bring the thumb image in the last version of Events Booking ?
Code:
<img src="<?php echo JUri::root().'/media/com_eventbooking/images/thumbs/'.$event->thumb ?>" />

It work but I’m not sure it’s Joomla 4 compatible?

This is in calendar > daily.php
Last edit: 2 years 1 month ago by Patrick Toulze.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #149553 by Tuan Pham Ngoc
Yes. That works and will still works well with Joomla 4.

Regards,

Tuan
The following user(s) said Thank You: Patrick Toulze

Please Log in or Create an account to join the conversation.

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 1 month ago #149560 by Patrick Toulze
Thank You Tuan

Good Day!

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #149580 by Tuan Pham Ngoc
You're welcome.

Please Log in or Create an account to join the conversation.