4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: osnapicture on April 05, 2007, 05:59:07 PM

Title: how to chance the default download path?
Post by: osnapicture on April 05, 2007, 05:59:07 PM
in includes/functions.php is this the standard Code:

   $download_button = "<a href=\"".$site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_row['image_id'])."\"".$target."><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";

In every category I have a subfolder named bigpictures. How do I have to chance the default code to download the pictures from the bigpictures folder instead of the normal pictures?
Title: Re: how to chance the default download path?
Post by: CeJay on April 05, 2007, 07:14:58 PM
look here: http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712
Title: Re: how to chance the default download path?
Post by: osnapicture on April 05, 2007, 08:03:39 PM
thanks for your response, but which part of the code do i need to change? i would not need the hole changes. i have in every category folder a subfolder named bigpictures. all i want is that the pictures are downloaded from this bigpictures folder insted of the category folder. shouldn't it be possible by simply adding "bigpictures" somewhere in the code?
Title: Re: how to chance the default download path?
Post by: CeJay on April 05, 2007, 08:52:19 PM
you will have to read through that thread, this is something i have not done so I can not help any farther then giving you the link....sorry
Title: Re: how to chance the default download path?
Post by: osnapicture on April 05, 2007, 09:24:19 PM
i read it many times before but i could not find an answer. altough thank you very much for trying to help me
Title: Re: how to chance the default download path?
Post by: edwin on April 06, 2007, 10:09:15 PM
i have almost the same problem, i want to doenload my big pictures from a different IPadres then were the server is, i als couldn't find the answer

good luck
Title: Re: how to chance the default download path?
Post by: Acidgod on April 07, 2007, 01:21:12 AM
i have almost the same problem, i want to doenload my big pictures from a different IPadres then were the server is, i als couldn't find the answer

good luck

Edit the Image and use Download URL Field for this...
Title: Re: how to chance the default download path?
Post by: edwin on April 07, 2007, 12:21:54 PM
acidgod, where can i find this, i've got 78.000 pictures on the site so that's a lot to change bye hand
Title: Re: how to chance the default download path?
Post by: osnapicture on April 14, 2007, 04:36:06 PM
to change all download urls manualy is quiet impossible. i have about 3000 pictures. wouldn't it be very simple to change only on line in the php code? but i have no idea where
Title: Re: how to chance the default download path?
Post by: osnapicture on May 18, 2007, 10:29:35 AM
can nobody help me?
Title: Re: how to chance the default download path?
Post by: edwin on May 18, 2007, 05:41:04 PM
yes please ??????