Author Topic: Ladebalken in KB/s ???  (Read 3584 times)

0 Members and 1 Guest are viewing this topic.

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Ladebalken in KB/s ???
« on: March 10, 2006, 09:59:27 PM »
HI.

Als ich mal bei V@no seiner Galerie zu Besuch war, stellte ich fest, das er ein echt gutes Features da hat. Und zwar folgendes:

Seine Bilder werden in der Detailansicht in einer Table als Background geladen und obendrüber ein transparentes Gif. Soweit ja alles noch nachvollziehbar bzw. habe ich auch!  :lol:
Der Nachteil bei sowas ist ja, dass das Bild nun nicht mehr schrittweise geladen wird sondern erst komplett geladen wird und dann schlagartig angezeigt wird.

Bei V@no habe ich nun gesehen, das er einen Ladebalken solange immer anzeigen lässt, bei dem genau angezeigt wird, wieviel KB schon von diesem Bild geladen wurden. Ich finde dies echt super, da so mancher Analog oder ISDN-Surfer manchmal echt nicht weiss, ob überhaupt was geladen wird oder nicht. Versteht ihr?

Jetzt die Frage: Kennt jemand von euch diesen Mod bzw. weiss, woher man diesen bekommt oder wie man sowas macht?

Ich habe bisher nur einen normalen Ladebalken drin, bei dem angezeigt wird, dass das Bild geladen wird....Aber wielange und wieviel noch fehlt usw....geht dabei nicht hervor...


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: Ladebalken in KB/s ???
« Reply #1 on: March 10, 2006, 10:05:41 PM »
warum fragst du nicht einfach vano selbst erstmal?
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Ladebalken in KB/s ???
« Reply #2 on: March 10, 2006, 10:09:18 PM »
 :D Jeb, wäre eine Idee..Dachte aber auch schon daran. Nur ein Problem:
Mein Englisch!!!! :cry:

Hätte ja sein können, das bereits ein anderer diesen Mod ebenfalls schon hat bzw. kannte....


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Ladebalken in KB/s ???
« Reply #3 on: March 11, 2006, 07:57:27 AM »
Sorry, Chicco, there is no mod published and never will be because first of all what you saw was an experiment and it did not work as expected and secondly it was only showing "guessed" mesurments, because it was mesuring from server side and not from client side...
Then, In order for anyone see that "progress bar" I had to limit the speed at which data was sending from the server, or to be more precise, the speed at which PHP was sending out the data...

I still couldnt find an answer where does the data from PHP output goes, where is it being stored untill client fully received it...and if there a way to get information how much data was sent out to the client via PHP...
Untill I find answers on these questions there is no mod will be made...


P.S. I did not remove the code from the site, its still there, I just removed the internet speed limit, and as you can see the progress bar no longer working...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)