1
MekDrop
Small suggestion for latest news images
  • Yesterday 20:57

  • MekDrop

  • Just popping in

  • Posts: 5

  • Since: 2005/8/14


Currently this block looks like:

Resized Image


But if you add for each image
object-fitcontain;


I think, everything becomes better:
Resized Image

2
heyula
Re: Small suggestion for latest news images
  • Today 8:59

  • heyula

  • Theme Designer

  • Posts: 597

  • Since: 2008/4/24


You can add the code you mentioned for this, but the correct approach is to handle it via thumb.php. While designing the theme, I had many different ideas about the Publisher module, but due to lack of time, I couldn't implement most of them. I hope to start working on something for Xoops again soon.

The current dimensions generated by thumb.php:

https://xoops.org/modules/publisher/thumb.php?src=https://xoops.org/uploads/images/img680f03c0692e8.jpg&w=385

You can set your desired dimensions as shown in this example:

https://xoops.org/modules/publisher/thumb.php?src=https://xoops.org/uploads/images/img680f07df742b6.jpg&w=2000&h=500

Login

Who's Online

184 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits