• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Event Photo Transparency

Event Photo Transparency 11 years 17 hours ago #27308

  • amcguire
  • amcguire's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Why, when I upload my own PNG to an event, does it not maintain it's transparency, but the default calendar image is transparent?

I need this image to maintain it's transparency - which seems like it would be the default action since the default style of the Events menu item is to change the background of the event on hover.....

Please advise, thanks.
The administrator has disabled public write access.

Event Photo Transparency 10 years 11 months ago #27536

Maybe the .PNG files have a non-transparent background?

Or, if they are all the same background is transparent - can cause the contents of the classes .rs_event_image or .rs_event_image img in CSS?
Last Edit: 10 years 11 months ago by Ravenclaw. Reason: errors
The administrator has disabled public write access.

Event Photo Transparency 10 years 11 months ago #27541

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
RSEvents!Pro uses the resized versions of the event picture, however the images are created as Jpg losing it's transparency in the process.
You will have to use a template override so that RSEvents!Pro will display the original image. Read about template overrides before you start.

Go to

\components\com_rseventspro\views\rseventspro\tmpl

and copy show.php to

\templates\templatename\html\com_rseventspro\rseventspro

(you will have to match the directory structure to this one)

Edit the show.php (the duplicate), in the line 171 replace "image_b" with "image" (the code should look like this after the edit)
<?php if (!empty($details['image_b'])) { ?>
<p class="rs_image" itemprop="image">
	<a href="<?php echo $details['image']; ?>" class="rs_modal" rel="{handler: 'image'}">
		<img src="<?php echo $details['image']; ?>" alt="<?php echo $this->escape($event->name); ?>" width="<?php echo rseventsproHelper::getConfig('icon_big_width','int'); ?>px" />
	</a>
</p>
<?php } ?>

You can find more on template overrides http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 10 years 11 months ago by cosmin.cristea.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!