-
AuthorPosts
-
mneese Friend
mneese
- Join date:
- November 2008
- Posts:
- 148
- Downloads:
- 19
- Uploads:
- 0
- Thanks:
- 36
- Thanked:
- 7 times in 1 posts
April 2, 2010 at 6:28 pm #150082The images uploaded thropugh the K2 system are stored in a directory that is outside of my image manager access…
- My normal image manager path is default to /images…
- The K2 images are in a higher directory /media/k2…
- Thus I cannot access these images through my image and/or media manager interfaces…
- This is good for your development team, but unusable for us the consumers…
- I cannot even access these images through the K2 dashboard…
Why is this setup this way…how to access images through quickstart joomla interface, or any intrface other than ftp client?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 6, 2010 at 7:13 am #339253Dear mneese!
Pls open the file: administratorcomponentscom_k2modelsitem.php, you can see the path of the folder to store images, this path is fixed:
[PHP]
if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’src’.DS.$filename.’.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’src’.DS.$filename.’.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_XS.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_XS.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_S.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_S.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_M.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_M.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_L.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_L.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_XL.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_XL.jpg’);
}if (JFile::exists(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_Generic.jpg’)) {
JFile::delete(JPATH_ROOT.DS.’media’.DS.’k2′.DS.’items’.DS.’cache’.DS.$filename.’_Generic.jpg’);
}
[/PHP]
( may be the path is fixed on some other files…)So that the best way is here, you should ask the question for K2 Team to resolve this issue. I am sorry for not being of much help in this case.
Thanks1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by mneese 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum