Author Topic: Image download not working since 1.5 Beta -> 1.5 Final  (Read 15225 times)

0 Members and 1 Guest are viewing this topic.

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« on: June 13, 2002, 10:51:43 AM »
Hi,

Since my update from 1.5 beta to 1.5 final the image download button isn't working anymore. When pressing, a new windows is opened (with URL ...\download.php imageid), one second nothing and then just the home page.

I have read many threads in this forum, but I couldn't detect a solution.
(I have downloaded the latest Final version and updated the download.php)

Any advise?
Thanks in advance
Peter Jansen

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #1 on: June 13, 2002, 10:53:42 AM »
Hi,

can you post a url?

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #2 on: June 13, 2002, 11:22:16 AM »
www.gelukkighebbenwedefotosnog.nl
(glucklich haben wir die foto's noch)

Username Jan
Password Jan

Thanks,

Peter

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #3 on: June 13, 2002, 12:04:23 PM »
Hi,

do you have anything in the field "Download URL"?

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #4 on: June 13, 2002, 12:16:56 PM »
Yes,
Download URL: /data/originals/image.jpg

Peter

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #5 on: June 13, 2002, 12:20:00 PM »
Thats the fault, leave "Download URL" blank.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #6 on: June 13, 2002, 12:34:16 PM »
Jan,

I can't leave it blank, I want to use it to let users download a high quatlity image, not just the compressed (low quality) picture. I believe the Download URL was intended and needed for that use?

Peter

Offline Innet

  • Pre-Newbie
  • Posts: 1
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #7 on: June 13, 2002, 12:44:17 PM »
I have the same problem.
The "Download" button opens a new window with the "index" page, but the image is not downloaded.

The field "Download URL" is empty.

the script is running on our internal server which is a Suse 7.2 Linux System

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #8 on: June 13, 2002, 01:04:49 PM »
@Jansen191:

Before answering any further questions, i want see the copyright notice back in your gallery!!!

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #9 on: June 13, 2002, 01:25:30 PM »
Sorry for that, I was over enthausiastic in changing some templates.
It's back now...

Peter

Offline Jansen191

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #10 on: June 20, 2002, 11:05:18 AM »
Jan,

What is the status of this thread? Is there a solution?

Thanks in advance!

Peter

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
yes, what is..
« Reply #11 on: June 20, 2002, 11:22:34 PM »
I'm having the same issue on my gallery.

www.digitalsmackdown.com/homegallery/

Go to "humor" catagory.
Clicking "download" just opens a new browser at the main gallery page.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Ah ha !!
« Reply #12 on: June 21, 2002, 04:32:22 AM »
I found the problem.

I noticed the same thing on my site last week.  Just now I found the time to look into it.

Jan / Nicky:

If an absolute URL such as http://www.MySite.com/path/to/download/file.jpg is used, the download button works and the user gets file.jpg instead of the jpg displayed from details.php

If a site relative URL such as /path/to/download/file.jpg is used, the image_download_url column in the 4images_images table is overwritten with a null value.

For those with this problem, try using an absolute URL instead of the site relative links you're trying now.

This is what works for me.

Offline helpme

  • Newbie
  • *
  • Posts: 19
    • View Profile
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #13 on: June 22, 2002, 04:38:27 PM »
hi, i use the full path start with http://www.mysite.com/image/name.jpg but the download button is still not working, click on it, redirect u to the main page :(

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
Image download not working since 1.5 Beta -> 1.5 Final
« Reply #14 on: June 23, 2002, 09:49:24 PM »
Does anyone have a solution for this?  I've had this problem for almost a month now...
My install is a fresh install of 1.5.

http://www.digitalsmackdown.com/homegallery/