Main menu

Forum


× Help Forum English

Pictures auto-resize

  • euevents
  • Avatar di euevents Autore della discussione
  • Active Member
  • Active Member
Di più
8 Anni 6 Mesi fa #15509 da euevents
Pictures auto-resize è stato creato da 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,
Allegati:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
8 Anni 6 Mesi fa #15515 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.050 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new