How can I put gif thumbnails in html file instead of jpg?

seephoto

Joined: 2005-12-12
Posts: 6
Posted: Fri, 2006-02-17 09:48

I found if I upload gif, it will be gif in html.
How to convert all input files to gif format?
Change the code?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-17 09:56

yep, you'd have to change the toolkit code (imagemagick, netpbm, gd).

but i'd keep it the way it is. it makes sense that jpg thumbs will give you the best quality for jpg originals, same for gif and png.

 
seephoto

Joined: 2005-12-12
Posts: 6
Posted: Fri, 2006-02-17 10:15

thanks,
if i want to convert jpg to gif, what should I do?
Which file and which line in gallery I should change?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-17 10:57

modules/imagemagick|gd|netpbm/classes/*Toolkit.class

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2006-03-17 11:57

It might be worth explaining *why* you want to blindly convert jpeg -> gif, because *generally* it is a very silly idea. Beyond silly, maybe bordering on... extremly silly. If you just want to convert a jpeg to gif because you WANT a gif file (ie, you don't want *EVERY* image in your gallery to be a gif), you should use a tool designed for that.
_________________________________
Support & Documentation || Donate to Gallery || My Website

 
seephoto

Joined: 2005-12-12
Posts: 6
Posted: Mon, 2006-03-27 03:15

this is *why*:
I want view my gallery in cellphone, but some WAP browser in cellphone does not support jpg. This is the reason of this topic.