List Info

Thread: Scaling Images




Scaling Images
country flaguser name
United States
2007-06-25 14:33:15
Hi,
 When adding several large images (over 800x600) in a
tiddler using
img[], Firefox suffocates and basically consumes all memory.
 I'm
currently running Firefox v2 on Linux.  Is there any way to
automatically scale down images so that they only appear in
full
resolution after clicking on them?  Thank you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
Germany
2007-06-25 14:36:12
> Is there any way to
> automatically scale down images so that they only
appear in full
> resolution after clicking on them?

I'm afraid not automatically. That would require server-side
processing.


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
United States
2007-06-25 14:45:35
Thank you for your super fast reply.  All the images are
stored on my
local hard disk.

On Jun 25, 10:36 pm, FND <Ace_No...gmx.net> wrote:
> > Is there any way to
> > automatically scale down images so that they only
appear in full
> > resolution after clicking on them?
>
> I'm afraid not automatically. That would require
server-side processing.
>
> -- F.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
Germany
2007-06-25 14:48:58
> All the images are stored on my local hard disk.

You could create downscaled versions yourself (I'm sure
there are 
programs/scripts for automating that) and make those
thumbnails link to 
the full-scale version...


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
United States
2007-06-25 14:52:28
That is one possibility.  I was thinking more along the
lines of a
script to automatically set the resolution of any image
above a
certain size to a predefined size and then provide me with
an onclick
option.

On Jun 25, 10:48 pm, FND <Ace_No...gmx.net> wrote:
> > All the images are stored on my local hard disk.
>
> You could create downscaled versions yourself (I'm sure
there are
> programs/scripts for automating that) and make those
thumbnails link to
> the full-scale version...
>
> -- F.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
Germany
2007-06-25 14:55:47
> I was thinking more along the lines of a script to
automatically set
> the resolution of any image above a certain size to a
predefined size

As I've said, that would require image processing, which is
not possible 
with JavaScript.
You could of course set a certain display size for images,
but the large 
images would still be loaded into memory just like before.


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
United States
2007-06-25 20:21:17
Okay. Thanks for your help FND.

On Jun 25, 10:55 pm, FND <Ace_No...gmx.net> wrote:
> > I was thinking more along the lines of a script to
automatically set
> > the resolution of any image above a certain size
to a predefined size
>
> As I've said, that would require image processing,
which is not possible
> with JavaScript.
> You could of course set a certain display size for
images, but the large
> images would still be loaded into memory just like
before.
>
> -- F.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
user name
2007-06-27 06:39:48


On 25 Jun 2007, FND wrote:

> 
> > Is there any way to
> > automatically scale down images so that they only
appear in full
> > resolution after clicking on them?
> 
> I'm afraid not automatically. That would require
server-side processing.


Coming out of lurk mode for a moment - aaand I may have
missed 
something, but is this Firefox choking due to the height and
width 
of the image rather than the file size?

If it's a height/width thing, I'd have thought some
TiddlySide 
JavaScript could force a suitable height/width on the 
displayed 
image code with a clicky link to show the image full size.

But if it's due to the file size, then you'll have to
provide your 
own thumbnails.



What version of TW are you using 'cos I've just displayed a
1000 x 
700 pixel image directly without trouble (apart from it
doesn't fit)

Image file size is 478Kb
TW is 2.0.11 (yeah, yeah, out of date)
And I used AttachFilePlugin dated 24 July 2006 (see prev
aside)

chris 





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
Germany
2007-06-27 06:57:45
> Coming out of lurk mode for a moment - aaand I may have
missed 
> something, but is this Firefox choking due to the
height and width 
> of the image rather than the file size?

It seems like it's an actual filesize/memory issue:

> When adding several large images (over 800x600) in a
tiddler using
> img[], Firefox suffocates and basically consumes all
memory.

So simply resizing the images probably won't help...

(Feel free to prove me wrong though.)


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Scaling Images
country flaguser name
United States
2007-06-28 07:26:26
You can limit the height with html that restricts the pixel
height and
create a hyperlink that links to the full image.

<html>
<a href="image.jpg"><img
src="image.jpg" height=100px>
</html>

On Jun 25, 3:33 pm, Mrown <mathewbr...fastmail.fm> wrote:
> Hi,
>  When adding several large images (over 800x600) in a
tiddler using
> img[], Firefox suffocates and basically consumes all
memory.  I'm
> currently running Firefox v2 on Linux.  Is there any
way to
> automatically scale down images so that they only
appear in full
> resolution after clicking on them?  Thank you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )