Main menu

Forum


× Help Forum English

Pictures auto-resize

  • euevents
  • euevents's Avatar Topic Author
  • Active Member
  • Active Member
More
8 years 6 months ago #15509 by euevents
Pictures auto-resize was created by euevents
Dear Cyril,

It is us once again with again a stupid question.

Is there a way to have these images (see printscreen) automatically resized? We would love to always display the complete logo of event organisers, so to guide our users. Most logically we should have all pics with the same size, but we are a team of 11 volunteers from all over Europe and establishing such a tight discipline is a bit burdensome...

Thanks,
Attachments:

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
8 years 6 months ago #15515 by Lyr!C
Replied by Lyr!C on topic Pictures auto-resize
Hello,

Well, no possible (for now) with current thumbnails system.

But as in this list, is using the full medium sized thumbnails, you can change html/css to modifiy the way the image is integrated.

For this, with custom CSS, you can change the "background" behavior.

In this case, it's using background-size property to size the medium thumbs inside the box date.
This one is set to "cover". You can use "contain" instead (for not streching the image, and view it all) :

info: www.w3schools.com/cssref/css3_pr_background-size.asp

Custom CSS:
.ic-box-date {
    background-size: contain;
}

CSS to be added in Custom CSS option of iCagenda global options ;-)


Hope this helps ?

Best regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

Moderators: Lyr!C
Time to create page: 0.051 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new