Page 1 of 1

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

Posted: 29 Sep 2006, 03:23
by Galium
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?

Code

Posted: 29 Sep 2006, 13:43
by Galium
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

Posted: 01 Oct 2006, 04:39
by Galium
If you replace adminswf by admin.swf, you will see now this and all is OK for the upload!

Image

Posted: 01 Oct 2006, 15:56
by mjau-mjau
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.

Posted: 02 Oct 2006, 01:08
by Galium
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.

Posted: 02 Oct 2006, 19:17
by rp
It was working for me:
groupfolder2/imagefolder2/WDC-test-print-web1.jpg

Posted: 04 Oct 2006, 01:14
by mjau-mjau
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.

Posted: 04 Oct 2006, 13:32
by Galium
Ok! All is right now! :)

Thank you.

Posted: 16 Oct 2006, 12:43
by D-ziner
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.

Posted: 16 Oct 2006, 12:58
by mjau-mjau
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 ...

Posted: 16 Oct 2006, 23:46
by D-ziner
Ok. I figured it out ... :roll: everything ok now !

Posted: 08 Oct 2007, 17:12
by sebgonz
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.