Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How can i upload the Icon with thumbnail ?  (Read 4077 times)

0 Members and 1 Guest are viewing this topic.

mooli_deejay1

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
How can i upload the Icon with thumbnail ?
« on: December 24, 2005, 11:53:41 pm »

hi

How can i upload the icon with thumbnail ??? :)
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: How can i upload the Icon with thumbnail ?
« Reply #1 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
Logged

mooli_deejay1

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: How can i upload the Icon with thumbnail ?
« Reply #2 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 ?
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: How can i upload the Icon with thumbnail ?
« Reply #3 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.
Logged

mooli_deejay1

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: How can i upload the Icon with thumbnail ?
« Reply #4 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 ...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can i upload the Icon with thumbnail ?
« Reply #5 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).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can i upload the Icon with thumbnail ?
« Reply #6 on: December 26, 2005, 09:14:54 am »

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.