Search…

X3 Photo Gallery Support Forums

Search…
 
Galium
Experienced
Topic Author
Posts: 97
Joined: 29 Sep 2006, 03:20

V1.7: no possible to add an image in the list for upload

29 Sep 2006, 03:23

Hello!
I have one serious problem (imagevuex 1.7):
- no possible to add an image in the list (admin) for upload
If you look at the file index.php, in the admin folder, you can see an error with adminswf (why not admin.swf).
If I adjust this with admin.swf, it's OK for upload in a popup window (I see now only "Browse in the list and the comment for Upload)

Are you sure hou have not a bug with this file?
Last edited by Galium on 02 Oct 2006, 03:16, edited 2 times in total.
 
Galium
Experienced
Topic Author
Posts: 97
Joined: 29 Sep 2006, 03:20

Code

29 Sep 2006, 13:43

Code
<body onLoad="setflash('adminswf', 'js', 'true')">

	<div id="admin">
		www.photo.gallery admin module
	</div>
	<script type="text/javascript">
		var so = new SWFObject("adminswf", "adminswf", "100%", "100%", "7", "#<?=$bgcol;?>");
adminswf
 
Galium
Experienced
Topic Author
Posts: 97
Joined: 29 Sep 2006, 03:20

01 Oct 2006, 04:39

If you replace adminswf by admin.swf, you will see now this and all is OK for the upload!

Image
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14008
Joined: 30 Sep 2006, 03:37

01 Oct 2006, 15:56

In the original files I have here, I have the following line:
Code
var so = new SWFObject("admin.swf", "adminswf", "100%", "100%", "7", "#<?=$bgcol;?>");
"adminswf" is the given name of the swf object, so that javascript may interact with it. Its supposed to be without the dot notation in the 2nd placement. The first placement "admin.swf" is a reference directly to the file.
 
Galium
Experienced
Topic Author
Posts: 97
Joined: 29 Sep 2006, 03:20

02 Oct 2006, 01:08

I downloaded again this morning Imagevue 1.7.
I have now:
Code
<body onLoad="setflash('adminswf', 'js', 'true')">

	<div id="admin">
		www.photo.gallery admin module
	</div>
	<script type="text/javascript">
		var so = new SWFObject("admin.swf", "adminswf", "100%", "100%", "7", "#<?=$bgcol;?>");
It gives me this windows:

Image

It's right?

So, when I will add a picture in the list with Browse, I choice my picture with the Browser (then Open), OK, but after nothing in the list!

What I want to say, if you understand: no possible to copy the image's path in the form list.

What is the explanation, please?
What are your suggests to have the function enabled (add)?
Can you help me to solve this problem?
Thanks in advance!

NOTE : funny!
It was all OK with the 1.6.2.
If I replace this index.php with this of the 1.6.2, all is OK for add an image in the list and then upload!

You can test the admin 1.70 here (and try to add a picture's path, with Browse, in the form list):
http://www.lediaporama.fr/G170/admin/
Click only on Submit for the password ("admin" only for the moment).

It works not with two differents PC at two different homes.
 
rp
Experienced
Posts: 31
Joined: 28 Sep 2006, 15:58

02 Oct 2006, 19:17

It was working for me:
groupfolder2/imagefolder2/WDC-test-print-web1.jpg
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14008
Joined: 30 Sep 2006, 03:37

04 Oct 2006, 01:14

Sorry, seems there was a flaw in the HTML. Please open the admin/index.php, and edit the following lines:
Code
<body onLoad="setflash('movie', 'js', 'true')">
Code
var so = new SWFObject("admin.swf", "movie", "100%", "100%", "7", "#<?=$bgcol;?>");
It needs to be given the name movie, or else the IE-related javascript for upload will not work. You may also download the updated file directly here:

https://www.photo.gallery/downloads/imag ... /index.php

We have also updated the file into the main Imagevue download.
 
Galium
Experienced
Topic Author
Posts: 97
Joined: 29 Sep 2006, 03:20

04 Oct 2006, 13:32

Ok! All is right now! :)

Thank you.
 
D-ziner
Posts: 8
Joined: 13 Oct 2006, 03:13

16 Oct 2006, 12:43

Hi,
I have the latest 1.7 version, and just trying to figure out how everything works.
In the admin section (for now login as guest) I can't upload pictures to the folders...
I get a tekstline : "You don't have permission to upload to this dir"
or on save: "You don't have permission to save for this folder"
alltough I set the folder content and all sub-folders to CHMOD 777.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14008
Joined: 30 Sep 2006, 03:37

16 Oct 2006, 12:58

Sounds like you might have edited the passwords.php incorrectly. Perhaps you could give me a link to your gallery and send me your passwords.php file ...
 
D-ziner
Posts: 8
Joined: 13 Oct 2006, 03:13

16 Oct 2006, 23:46

Ok. I figured it out ... :roll: everything ok now !
 
sebgonz
Posts: 3
Joined: 08 Oct 2007, 16:59

08 Oct 2007, 17:12

Thanks for this fix. It worked perfectly.

Go ahead and check it out.
www.sebgonz.org/gonzalezfamily

It's just been started. So hardly any pictures are there.