Keyword

how to resize images in k2 URL

More
10 years 2 weeks ago #131960 by luis
how to resize images in k2 URL was created by luis
hi, i want to know how to resize the images from k2 (url), i want an image of 620 x 410 px
so this is what i did:

i resized my image in photoshop and uploaded it,
i changed the article XL so it shows the image with that width


Attachment not found




liderazgonatural.com/exito/1-como-consiguio-el-exito-eminem
here is the article (where the XL size is showed as i want) but for example, when i right click on the image of the article and get the url, i copy it and enter to it

in this case this is the link liderazgonatural.com/media/k2/items/cache/2fa67f482133f1c934235b73c2a03954_XL.jpg

i get an image of 900x525 px ... how do i establish the size to be 620 x 410 px when entering to the image url?

thanks in advance

ps: also if you know (by yourself or an article related) how to improve the URL of images in k2, for example in this case
liderazgonatural.com/media/k2/items/cache/2fa67f482133f1c934235b73c2a03954_XL.jpg

i would like to make it friendlier, so if someone can teach me something of this would be great :)
Attachments:

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 weeks ago #131961 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: how to resize images in k2 URL
Hello If you need to regenerate your images please use this plugin github.com/rdeutz/rebuildK2imageCache

Even if you resized the images you have to either reupload the theme or use that plugin.

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 2 weeks ago #131962 by luis
Replied by luis on topic Re: how to resize images in k2 URL
thanks , i got this message

Warning
JInstaller: :Install: Cannot find XML setup file

i tried to install the plug in but this appeared, do you know what it is?

thanks for your help! :)

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

More
10 years 2 weeks ago #131963 by Lefteris
Replied by Lefteris on topic Re: how to resize images in k2 URL
@luis

This is not a Joomla! plugin. It's a custom script. It cannot be installed via the extension manager. The repository contains instructions regarding how to use it. Alternatively you cna just try to upload the image again.

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 2 weeks ago #131964 by luis
Replied by luis on topic Re: how to resize images in k2 URL
ty, sorry i thought i had to install it because krakor said it was a plug in :P

i did the 2 steps already

1) Copy this file as rebuild.php into "JPATH_ROOT/media/k2/items"

2) Check Variables, use a size of 0 for not processing this image size


3) run it "php -f rebuild.php" (it overwrites existing files without notice)

but i dont understand the 3rd step, what do i do to run it guys?

tys for your help im really new :/ that's why i am asking sorry if it's too easy

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 weeks ago #131965 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: how to resize images in k2 URL
It 's ok.
It is not a normal Joomla! plugin and it does not have a User Interface.
The file should be executed through the command line. It is intended more as a development tool rather than an extension.

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