Main menu

Forum


The developer takes 2 weeks off for vacation...
...and will be back with charged battery!

From 27 September to 11 October, 2026 included
During this period,
assistance from developer will not be provided.

 

× Help Forum English

Pictures auto-resize

  • euevents
  • euevents's Avatar Topic Author
  • Junior Member
  • Junior Member
More
8 years 5 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 5 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.16
We recommend every user to keep iCagenda updated.
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.045 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new