Keyword

square thumb

  • alfredo pacino
  • alfredo pacino's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122601 by alfredo pacino
square thumb was created by alfredo pacino
i want square thumb (obiouvsly without stretch)
i found some hacks to do this, but the threads are about 1 years old, and i'm afraid to use those hacks with a newer version of k2.

maybe it's a in-core feature now?

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

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
10 years 9 months ago #122602 by olsen
Replied by olsen on topic Re: square thumb
I dont know what hacks are you saying, but maybe the best way is that you cut or set the correct aspect ratio to your images before upload with some picture editing software (desktop or online)

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

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

More
10 years 9 months ago - 10 years 9 months ago #122603 by alfredopacino
Replied by alfredopacino on topic Re: square thumb

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122604 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: square thumb
Why don't use CSS, overflow: hidden and a standard ratio to hide the excess part of the image?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 9 months ago #122605 by alfredopacino
Replied by alfredopacino on topic Re: square thumb
a correct css solution could be background-size: cover,
but i prefer a php resize..so there isn't an option in k2?
could you link a working hack?

i think this option could be very helpful (for next releases..)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122606 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: square thumb
We will consider it for future releases.
background size will work only if you change your <img> tags to backgrounds instead.
I think this is an overkill.

As for the links, I am sorry but I have not tested any of these solutions.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum