By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

downloading a .gif

P: n/a
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
Jul 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
With total disregard for any kind of safety measures
me**********@yahoo.com (Marc) leapt forth and uttered:
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


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.....
Jul 16 '05 #2

P: n/a
Marc wrote:
Phil Roberts <ph*****@HOLYflatnetSHIT.net> wrote in message
news:<Xn*************************@216.196.97.132>. ..
With total disregard for any kind of safety measures
me**********@yahoo.com (Marc) leapt forth and uttered:
> 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
>


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.


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


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
Jul 16 '05 #3

P: n/a
Marc wrote:
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...


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.
Jul 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.