Author Topic: Download Big Picture from home server  (Read 6412 times)

0 Members and 1 Guest are viewing this topic.

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Download Big Picture from home server
« on: October 23, 2006, 02:14:18 PM »
Where in 4images can i find the path wich is used to download the Big pictures, I have 4images hosted and i want to store the Big pictures at home where customers can download them, but where do i have to change the path wich is used when you press the downloadbutton.

So thumbnails and preview stay at the hostingcompany and the big pictures at home.

thanks

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Download Big Picture from home server
« Reply #1 on: October 23, 2006, 04:05:22 PM »
Hi,

you can give every pic in the Control panel a special download link.

Edit images:
Code: [Select]
Download URL
If you fill out this field, the download button will point to the URL you entered,
otherwise it will point directly to the image file.
   :wink:

Have you a Dynamic DNS adress?

cu
Kurt

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Download Big Picture from home server
« Reply #2 on: October 23, 2006, 04:35:06 PM »
i have 67.000 pictures in the database so it's a little bit to much to change this bye hand and all pictures are uploaded bye ftp, any idea

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Download Big Picture from home server
« Reply #3 on: October 23, 2006, 07:25:22 PM »
Hmmm.

you need a new link in
includes/functions.php

This is the standard:
Code: [Select]
$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>";
Test this:
Code: [Select]
$download_button = "<a href=\"deine_ip/{media_src}\" target=\"blank\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
cu
Kurt

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Download Big Picture from home server
« Reply #4 on: October 23, 2006, 08:47:49 PM »
it's on the way only i get a fdouble adress in my url

http://www.foto-janssen.nl/images/foto-janssen.xs4all.nl/

So the first part http://www.foto-janssen.nl/images/ is to the hostingside (the old situation

foto-janssen.xs4all.nl/ is my server at home


Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Download Big Picture from home server
« Reply #5 on: October 23, 2006, 11:42:29 PM »
i see you don't care about hits to your images, correct?
if this is okay for you, i can give you short description..

BUT
you must have the same folders and images files names on your pc.

btw http://foto-janssen.xs4all.nl/ want work for me
cheers
Nicky
Your first three "must do" before you ask a question ! ( by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Download Big Picture from home server
« Reply #6 on: October 23, 2006, 11:53:04 PM »
The first part about the hits i don't understand what you mean

The server at home is not running yet and so the link won't work yet
Yes, it will have the same folders and filenames as on the site

Anyhelp is welcome

regards Edwin


Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Download Big Picture from home server
« Reply #7 on: October 23, 2006, 11:57:15 PM »
the first part was:
do you care, how often people click on your images?
cheers
Nicky
Your first three "must do" before you ask a question ! ( by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Download Big Picture from home server
« Reply #8 on: October 24, 2006, 12:11:45 AM »
Clicking to download the High resolution pictures (in the BIG folder) is only alowed for registrated users and is happening a few times a week

because my space at the hostingprovider is limited the pictures will be hosted at home

edwin

 

Post your comments here