4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: edwin on March 07, 2007, 12:21:42 PM
-
Hi, i've searched the forum but none of the items i found helped me, but mayby somebody else has the solutions
My website at http://www.foto-janssen.nl, registrated users can login to my site and search an image and if the want to download this image they push the download button, the big image is the downloaded from the same server as where the program is installed.
Now i want to change the downloadpath to my privat IP adres (213.84.***.**)
I tryed it in functions.php and changed the $download_button to this $download_button = "<a href=\"213.84.***.***/{media_src}\" target=\"blank\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
This gives this result as path http://www.foto-janssen.nl/images/213.84.***.***/
Where can i change the code to remove the part wich says http://www.foto-janssen.nl/images/
regards edwin
-
look here and see if this is what you wanted: http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712
-
wow, that's a lot of changed to be made, i hoped that it would a little bit easier than what i see there
I'm a completed nobody with PHP
Hopefully Jan, mawenzi or some of the other whisskids can help me
-
pretty sure it dont get any easier then that
-
okay, then i have to try it, i hope that i can give you a mail if i have a question
edwin
-
if you have any questions post them in that thread, usually someone that has done that mod would respond.
-
thanks, if sombody other has an idea or an suggestion i'll hope they post it here, any help is welcome
-
only other thing I can think off, would be to edit each image in the admin section and specify a download path
that would be even more work then the other since you have to modify 1 image at a time
-
i understand, i will give it a try
thanks
-
thanks