Keyword

transfer cms to k2 items - image problem

More
11 years 9 months ago #63764 by Barbara
Replied by Barbara on topic Re: transfer cms to k2 items - image problem
the file name of the image item is the result of a function, for ex.

if the article ID is 1040
md5("Image1040")
the result is 570796c183ff69c8bf360848aa19a0f1

the k2 add a suffix for the size (_L, _S, ecc.)

so if tou search a specific image you can use this method to find the name of the file in the directory l/media/k2/items/cache

php.net/manual/it/function.md5.php

barbara

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
11 years 7 months ago #63765 by stavroch
Replied by stavroch on topic Re: transfer cms to k2 items - image problem
So how can I run this scipt for each k2 item - image?

I have export and import the k2 items, categories but U don't know how to do it with the images.

I hope to help me.

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


Powered by Kunena Forum