Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Video and html-form
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=583
Page 1 of 8

Author:  uysstd [ 21. Oct 2006, 11:43 ]
Post subject:  Video and html-form

Dear Micheal

I cant get the flashuploader to work so I try with the html-form.
The html-uploader-form works great with pictures. So this is what I want to do.
1) Get the flashuploader(Ver 2.0) to work. If I cant get this flashuploader
to work I at least want the html-form. But I wish to upload videos like mpg and avi. Its a 2MB limit and html will not accept videos.

In short terms:
How kan I upload videos with big files(over 2MB) with the html-form?

Best Regards
Stefan

Author:  TinyWebGallery [ 21. Oct 2006, 12:04 ]
Post subject: 

1. Define not work - to the flash uploader on my website work ?

do you have flash 8 installed?

html upload has the same restrictions as the flash - check the info.php what is the maximum upload possilbe - restrictions are in the php.ini !

(or the upload forms tells you on the page on the top!).

You can define html-upload as default in admin/.config/conf.php if flash will still not work.

/Michael

Author:  uysstd [ 21. Oct 2006, 17:39 ]
Post subject: 

Hi again Michael

I understand if you getting tired off me :-)

Good suggestion. When I increase the maximum upload size in php.ini I can upload with the flashloader, but only videofiles(avi). Not simple jpg-files.

With the html-form I got the opposite. I cant upload avi:s but jpg works.
Any ideas?

I got Skockwave Flash 8.0.22.0

Best regards
Stefan

Author:  TinyWebGallery [ 22. Oct 2006, 18:13 ]
Post subject: 

are you trying to resize images during upload - because this depends on the php memory you have!

/Michael

Author:  uysstd [ 22. Oct 2006, 19:54 ]
Post subject:  No

Michael

I dont try to risize the images during upload. Keep as "Orginal"
during upload. I try to upload an bmp-images and that worked
out fine. Why doesnt it work with jpg:s.
Everything works with the flashloader but not JPG.
Please, help
Stefan

Author:  TinyWebGallery [ 22. Oct 2006, 23:04 ]
Post subject: 

have you checked the log file ?

counter/_mydebug.out

/Michael

Author:  uysstd [ 23. Oct 2006, 08:50 ]
Post subject:  More

Michaal
Its nothing in the debugfile about the uploading.

I got some more questions.
I dont understand the differnce in these two folders. They both got MP3:s inside but look differnt. In this example you got a menue there you can make your choice first and then the player(WMP) starts.
Take a look:
http://www.slottsberg.educ.goteborg.se/ ... bum=Musik1

In the other example the player start at once, No menue ther you can choose.
http://www.slottsberg.educ.goteborg.se/ ... twg_show=x

They both have the same value in video.php
<?php
$video_player="WMP";
$video_autostart=false; // true or false works!
$show_rotation_buttons=false;
$video_show_dl_link=true;
?>

I see a difference in the links
The first one ends with: twg_album=Musik1
The second ends with: twg_album=Musik2&twg_show=x

I prefer the first one. How do I do it?

Best regards
Stefan

Author:  TinyWebGallery [ 23. Oct 2006, 08:58 ]
Post subject: 

TWG does an autodetection if all thumbs are shown on the detail page already - if this is the case it can skip the thums page (this is the default).
look for

$auto_skip_thumbnail_page in the config


about upload - do you have access to the log files of the server?

/Michael

Author:  uysstd [ 23. Oct 2006, 09:19 ]
Post subject: 

I have set this variable to false but its the same thing.
$auto_skip_thumbnail_page in the config

I have clean my cash in IE and on TWG:s. I stil have differnt links:
1) index.php?twg_album=Musik1
2) index.php?twg_album=Musik2&twg_show=x

Do I have to create the folders again?

S

Author:  TinyWebGallery [ 23. Oct 2006, 09:22 ]
Post subject: 

you have twg_show=x in the url - this causes TWG to go directly to the detail page.

/Michael

Author:  uysstd [ 23. Oct 2006, 09:24 ]
Post subject: 

OK, but how do I change it?

Author:  uysstd [ 23. Oct 2006, 09:25 ]
Post subject:  Invisible

I wonder if I can do a folder invisible in the index.htm. I have protect a folder with a password(encrypt) which contains videos. Then on another page I have a link directly into a password protected gallery. The users can login when clicking the link. Very smooth. But I don’t want other users to see this folder when they visit the TWG:s index.htm. I try to made a folder with ASCII 255(ALT+255) to get a foldername “spacebar” but it didn’t work. Any suggestion.?

Author:  TinyWebGallery [ 23. Oct 2006, 09:35 ]
Post subject: 

in which config?

config.php? - never change something there - has to be changed in my_config.php!

you can hide a folder if you add the folder to the $exclude_directories
- you have to try if you can link to a hidden dir.

/Michael

Author:  uysstd [ 23. Oct 2006, 09:53 ]
Post subject: 

Great, when I make the change in my_config.php It works like the first mp3-folder.

About, upload jpg-files. No, I dont have acces to the log.

I just found $exclude_directories in config.php, not in my_config.php.
You say that it is forbidden to change in config.php. How do I do?
Write in $exclude_directories manual in my_config.php?
If the real folders name are Video1 how should I write?

$exclude_directories=array("CVS","thumbs","data.pxp");

Author:  TinyWebGallery [ 23. Oct 2006, 09:55 ]
Post subject: 

copy it to my_config.php

$exclude_directories=array("CVS","thumbs","data.pxp","Video1");

about jpg's - have you tried different sizes - try to resize them first

/Michael

Page 1 of 8 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/