Author Topic: how to chance the default download path?  (Read 6930 times)

0 Members and 1 Guest are viewing this topic.

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
how to chance the default download path?
« 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?

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: how to chance the default download path?
« Reply #2 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?

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: how to chance the default download path?
« Reply #3 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

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: how to chance the default download path?
« Reply #4 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

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: how to chance the default download path?
« Reply #5 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

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: how to chance the default download path?
« Reply #6 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...

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: how to chance the default download path?
« Reply #7 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

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: how to chance the default download path?
« Reply #8 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

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: how to chance the default download path?
« Reply #9 on: May 18, 2007, 10:29:35 AM »
can nobody help me?

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: how to chance the default download path?
« Reply #10 on: May 18, 2007, 05:41:04 PM »
yes please ??????

 

Post your comments here