Keyword

Disable Image auto resize

  • Petik Avetisyan
  • Petik Avetisyan's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90453 by Petik Avetisyan
Disable Image auto resize was created by Petik Avetisyan
I want to Disable images resizing in k2, because if for example add an image with 510
pixels, it becomes 600, and the quality decreases, and
also a problem with rokstories module, how to disable image auto resizing?

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

  • Petik Avetisyan
  • Petik Avetisyan's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90454 by Petik Avetisyan
Replied by Petik Avetisyan on topic Disable Image auto resize
Where can I find my answer, if there is no one answer me

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

More
13 years 7 months ago #90455 by Marco Profumo
Replied by Marco Profumo on topic Disable Image auto resize
put this code in template instead of original image code:

<img src="<?php echo JURI::root().'media/k2/items/src/'.md5("Image".$item->id).'.jpg'; ?>" alt="<?php echo $item->title; ?>"/>

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


Powered by Kunena Forum