downloading a .gif

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc

    #1

    downloading a .gif

    Hello,

    I have a page with lots of thumbnails of photos. I want the user to be
    able to dload a big version of the photo (also present on the server)
    by either

    1) clicking on it (left mousebutton) and have a 'save as...' dialog
    or
    2) right-clicking on it and have a 'save as...' dialog. But I don't
    want the the whole photo to dload to the user before he is able to
    rightclick it.

    displaying the big photos as thumbnail and then right-clicking them is
    not an option since it takes ages for a page with thumbanils to build
    up...

    I am not sure if 1 is possible and not sure if 2 is possible... Can
    anyone give me a hint?

    thanks ,

    Marc
  • Phil Roberts

    #2
    Re: downloading a .gif

    With total disregard for any kind of safety measures
    meelzooi2000@ya hoo.com (Marc) leapt forth and uttered:
    [color=blue]
    > Hello,
    >
    > I have a page with lots of thumbnails of photos. I want the user
    > to be able to dload a big version of the photo (also present on
    > the server) by either
    >
    > 1) clicking on it (left mousebutton) and have a 'save as...'
    > dialog or
    > 2) right-clicking on it and have a 'save as...' dialog. But I
    > don't want the the whole photo to dload to the user before he is
    > able to rightclick it.
    >
    > displaying the big photos as thumbnail and then right-clicking
    > them is not an option since it takes ages for a page with
    > thumbanils to build up...
    >
    > I am not sure if 1 is possible and not sure if 2 is possible...
    > Can anyone give me a hint?
    >
    > thanks ,
    >
    > Marc
    >[/color]

    So, you want the user to be shown an image that is neither a
    thumbnail nor has been downloaded to his computer nor is the full-
    size image?

    I think if you examine what you're asking for you'll find it's not
    just impossible, but totally illogical as well.

    --
    There is no signature.....

    Comment

    • Andreas Paasch

      #3
      Re: downloading a .gif

      Marc wrote:
      [color=blue]
      > Phil Roberts <philrob@HOLYfl atnetSHIT.net> wrote in message
      > news:<Xns93E26E 9BD9070philrobe rts@216.196.97. 132>...[color=green]
      >> With total disregard for any kind of safety measures
      >> meelzooi2000@ya hoo.com (Marc) leapt forth and uttered:
      >>[color=darkred]
      >> > Hello,
      >> >
      >> > I have a page with lots of thumbnails of photos. I want the user
      >> > to be able to dload a big version of the photo (also present on
      >> > the server) by either
      >> >
      >> > 1) clicking on it (left mousebutton) and have a 'save as...'
      >> > dialog or
      >> > 2) right-clicking on it and have a 'save as...' dialog. But I
      >> > don't want the the whole photo to dload to the user before he is
      >> > able to rightclick it.
      >> >
      >> > displaying the big photos as thumbnail and then right-clicking
      >> > them is not an option since it takes ages for a page with
      >> > thumbanils to build up...
      >> >
      >> > I am not sure if 1 is possible and not sure if 2 is possible...
      >> > Can anyone give me a hint?
      >> >
      >> > thanks ,
      >> >
      >> > Marc
      >> >[/color]
      >>
      >> So, you want the user to be shown an image that is neither a
      >> thumbnail nor has been downloaded to his computer nor is the full-
      >> size image?
      >>
      >> I think if you examine what you're asking for you'll find it's not
      >> just impossible, but totally illogical as well.[/color]
      >
      > Phil,
      >
      > I am sorry if I offended you by my question. However, what I am asking
      > for is not as illogical as it may seem to you. Since you choose not to
      > deal with the question but start insulting me instead I will find a
      > different way to solve my question.
      >
      > Marc[/color]

      Marc,

      he wasn't insulting you, far from.
      He was just pointing out that what you want to do -based on your description
      - is basically impossible.
      How do you want to show the user a site with images, if you don't want him
      to download any at all?
      Size is irrelevant, the fact that he is not meant to download images as you
      describe it, make it impossible.

      He was only asking you to re-read what you wrote and think it over again to
      see where your logic fails.

      If it's not deprecated, HTML has a tag for images lowres that should allow
      you to download any image in a low resolution for quick display .. once all
      images are loaded they will then be shown in full resolution.
      Secondly, you could make doublets of your images, one in fullsize and
      resolution and then a standartized smaller one for thumbnails. Which seems
      to be what you seek ...
      Then, building the image pages with thumbnails and loading it with lowres
      should actually load those pages very fast and show the initial images.
      Once the initial page is done, the images are shown full resolution for the
      user to click on each thumbnail to get full size and full resolution
      images.

      ... but still, he was only telling you about the flaw in your logic.

      /Andreas

      --
      Registeret Linux user #292411

      Comment

      • Dalibor Karlovic

        #4
        Re: downloading a .gif

        Marc wrote:
        [color=blue]
        > displaying the big photos as thumbnail and then right-clicking them is
        > not an option since it takes ages for a page with thumbanils to build
        > up...[/color]

        Not it doesn't if you don't build the thumbs every time. Lets say you have a
        directory images/. Create two more inside, 'fullsize' and 'thumb'.

        On each page load you check if the requested image exists in images/thumb/,
        if it doesn't, you create it and store it there. As you add new images to
        images/fullsize/, thumbs get created when requested, no additional
        overhead.

        --
        Dado

        Mistakes are often the stepping stones to utter failure.

        Comment

        Working...