4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: edwin 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
-
Hi,
you can give every pic in the Control panel a special download link.
Edit images:
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
-
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
-
Hmmm.
you need a new link in
includes/functions.php
This is the standard:
$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:
$download_button = "<a href=\"deine_ip/{media_src}\" target=\"blank\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
cu
Kurt
-
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
-
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
-
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
-
the first part was:
do you care, how often people click on your images?
-
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