Keyword

Image resize class/function

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
More
12 years 10 months ago #58570 by Nick
Image resize class/function was created by Nick
I am writing some special extensions for my site and I was hoping to get some help from the K2 dev's or people who are just really into it.

I need to know where the functions are which resize the image into their respective set sizes. I am writing a script which downloads the images from user submitted URLS and then these images have to be processed (they are linked to an itemID so i will be able to use the md5 function for the filenames)

I just need to know where these functions are located.

Many thanks in advance!

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

More
12 years 10 months ago #58571 by SDKiller
Replied by SDKiller on topic Re: Image resize class/function
administrator\components\com_k2\lib\class.upload.php

Russian K2 support on joomlaforum.ru

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

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
More
12 years 10 months ago #58572 by Nick
Replied by Nick on topic Re: Image resize class/function
Didn't get too far with that. I need to figure out how K2 resizes the images. The item submission form submits everything to index.php. I'm just curious where the image resizing is called.

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

More
12 years 10 months ago #58573 by Marc
Replied by Marc on topic Re: Image resize class/function
Nick,

Demos using the class.upload.php can be found here:

www.verot.net/php_class_upload_download.htm

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


Powered by Kunena Forum