test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mneese Friend
    #150082

    The 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 Moderator
    #339253

    Dear 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.
    Thanks

    mneese Friend
    #339352

    Okay, I will make do with this…thank you

Viewing 3 posts - 1 through 3 (of 3 total)

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