Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

problem with download link

  • pfischer
  • pfischer's Avatar Topic Author
  • Offline
  • New Member
More
13 years 4 months ago #42072 by pfischer
problem with download link was created by pfischer
Just to let you know, I experienced some problems with downloading images from the gallery. I had placed my galleries in the fotos folder that I had created in the joomla root. Displaying the photos went fine, but downloading did not work (404 error).

When inspecting the download.php I found the following code:
...
// Reference the "/images" or "/media/k2/galleries" directory
$ref_com_content = $siteUrl.'/'.substr(str_replace(DS,'/',$pathToSourceFile),0,strlen('images/'));
$check_com_content = $siteUrl."/images/";
...

I then decided to move the fotos folder to the images folder and changed the root folder for image galleries to images/fotos and everything worked fine.

Please fix this or mention in documentation.

regards
Paul

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


Powered by Kunena Forum