forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: mooli_deejay1 on December 24, 2005, 11:53:41 pm

Title: How can i upload the Icon with thumbnail ?
Post by: mooli_deejay1 on December 24, 2005, 11:53:41 pm
hi

How can i upload the icon with thumbnail ??? :)
Title: Re: How can i upload the Icon with thumbnail ?
Post by: ecto on December 25, 2005, 02:21:13 am
I don't understand your question.. what do you mean? What icon?

Many people ask how to change the thumbnail icon for certain files (like movies).. if that's what you're asking, please read the documentation:
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb
Title: Re: How can i upload the Icon with thumbnail ?
Post by: mooli_deejay1 on December 25, 2005, 05:11:28 pm
i mean is how can i upload  file.ico (icon format) and the icon uploaded shown in the thumbnail ?
Title: Re: How can i upload the Icon with thumbnail ?
Post by: ecto on December 25, 2005, 06:05:43 pm
As it says in the document I linked to in my previous post: "Thumbnails can be one of the following file types: 'gif', 'png', or 'jpg'"

Or do you mean that you want to upload a file.ico that users can see in the gallery, and you want the thumbnail for file.ico to look like it does on your computer? If so, read the docs again! It says there that you should create a jpg, gif or png file that you want to use as the thumbnail and call it for example thumb_file.jpg if the file you are displaying is called file.ico.

If this is not what you mean, you will have to be more clear in your question. I guess that english isn't your native language, but you will have to try and be more specific on what it is you want to do.
Title: Re: How can i upload the Icon with thumbnail ?
Post by: mooli_deejay1 on December 25, 2005, 06:26:23 pm
yeah , i want to upload a file.ico that users can see in the gallery .

thank you ...
Title: Re: How can i upload the Icon with thumbnail ?
Post by: Joachim Müller on December 26, 2005, 09:13:57 am
run a query like this
Code: [Select]
INSERT INTO CPG_filetypes VALUES ('ico', 'image/ico', 'image', '');, e.g. by adding this code into sql/update.sql, running update.php in your browser once and then removing the line you added once more. If you have a tool like phpMyAdmin, you can run the query there (make sure to replace CPG_ with the prefix you actually have chosen during install).
Title: Re: How can i upload the Icon with thumbnail ?
Post by: Joachim Müller on December 26, 2005, 09:14:54 am
what's wrong with http://forum.coppermine-gallery.net/index.php?topic=24082.0  ?