Keyword

Quality Image item

  • Alberto
  • Alberto's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago #159150 by Alberto
Quality Image item was created by Alberto
Dear All,
I'm developing a custom template for K2.

I intergated bootstrap carousel with last items module, in the top "slider" i put the image in background (item tab image-->upload large image) and everything works fine.
<div class="item <?php echo($classeattiva); ?>">
<div style="background: url(<?php echo $item->image?>); width:100%; min-height:400px; background-size: cover; background-repeat: no-repeat;">
</div>
The problem is the really bad quality of the image.
My source image is 2500 px width and then I'm reducing with the responsive css.
I would like to have the original size of the image.

Any suggestion?

please help.

Thanks in advance
Alberto

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

  • Alberto
  • Alberto's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago #159151 by Alberto
Replied by Alberto on topic Quality Image item
Sorry, solved with
background: url(<?php echo $item->imageXLarge?>)

thanks and sorry for the useless post.
can delete.

Alberto

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 months ago #159155 by Krikor Boghossian
Replied by Krikor Boghossian on topic Quality Image item
It's not a useless post Alberto.
Users can benefit from this post.

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