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 [2] 3   Go Down

Author Topic: How to use custom thumbnails  (Read 32990 times)

0 Members and 1 Guest are viewing this topic.

loverboy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: How to use custom thumbnails
« Reply #20 on: August 13, 2004, 01:59:46 am »

I have tried uploading a jpg and a wmv together.

It ends up showing the jpg in the gallery, while the wmv default thumbnail is still there.

For example, I'll ftp img001.wmv and img001.jpg to the same directory. Then i'll go to batch add files, and add both pics into the same gallery.

Still doesn't work, is there any easier way to do this?

Thanks!
Logged

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Two Pics When uploading 1 pic.jpg and 1 file.zip
« Reply #21 on: September 24, 2004, 06:04:20 pm »

Like This 1.32 :)
I look at faq.html and here ,but cant find what im looking for.

If I upload a pic.jpg and a File.zip , I get two Pics 1 is the pic.jpg and the other is the same Pic as the pic.jpg But Linked to the .zip file ( I Like It That Way ).

So Is There Anyway To Hide The First pic.jpg? <------ This Is The Real Question

If I delete the .jpg then my pic of the .zip changes to a zip icon ( So I would Like To Hide First Pic.jpg)

So when you are looking Threw the different pics you only see 1 pic and if you click on it , it downloads file.zip.

Thanks
MDX
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Two Pics When uploading 1 pic.jpg and 1 file.zip
« Reply #22 on: September 24, 2004, 06:11:32 pm »

Please read the thread I am attaching this to from the beginning.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: How to use custom thumbnails
« Reply #23 on: September 27, 2004, 06:52:49 pm »

I Must Be Doing Something Wrong.
The Only Way I Can Make My Zip File Icon The Same As Pic Is To Batch Upload All Pics In one Folder Then After It Creats The thumb_pics.jpg I Move Then To The Zip Folder.

If I Rename X.jpg to thumb_X.jpg And upload in the uploader with X.zip , I still Get Two Pics 1 is X.zip And The other is thumb_X.jpg.

And In The Upload Folder 10023 It Creats  ( normal_X.jpg )  ( thumb_thumb_X.jpg ) ( thumb_X.jpg)

What Am I Doing Wrong?

Thanks
MD
« Last Edit: September 27, 2004, 11:49:45 pm by MDxRacing »
Logged

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: How to use custom thumbnails
« Reply #24 on: September 29, 2004, 01:15:09 am »

Is there a line of code that can be deleted so when uploading a thumb_X.jpg with X.zip It wont creat a normal_X.jpg or thumb_thumb_x.jpg ?

Or better yet

A line of code that can be deleted so you can upload X.jpg with X.zip and The normal_X.jpg would not be ceated , just the thumb_X.jpg is created only ?

If you have any ideas il test it for you

Thanks
MD
Logged

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: How to use custom thumbnails
« Reply #25 on: September 30, 2004, 04:26:18 am »

Ok I Figured A Way For Me And It Might Help Others
I Created A New Category Called (ALL PICTURES)And A Album Called ( Pics )
I DONOT Rename X.jpg To thumb_X.jpg
I Upload X.jpg And X.zip.
In The Second Upload Screen I Have My X.zip Icon / Pic , I Put That In The Category That I Want Others To See And Download.
In The Third Upload Screen I Have My X.jpg / Pic , I Put That In The Category Called ( ALL PICTURES >Pics ).

It Works For Me ,1 X.zip Picture That File Can Be Downloded.

Thanks
MD
Logged

normal

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Normal Design
Re: How to use custom thumbnails
« Reply #26 on: April 02, 2005, 05:49:46 pm »

Hi,

I belive I've correctly  followed the instructions for using a custom thumbnail.  What I end up with is the custom thumbnail PLUS the thumbnail as its very own file.  If I then try to delete the unwanted instance it also removes the custom thumbnail.

What am I doing wrong:

I FTP'd the .mov file and then a .jpg file with identical names to a folder in the albums directory and then used "batch add" to place them.

I've tried various trial and error variations on this, and I can't seem to get any result but the undesired one described above.

Thanks,
David

http://www.normal-design.com/copper-gallery
Logged

normal

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Normal Design
Re: How to use custom thumbnails
« Reply #27 on: April 02, 2005, 06:19:01 pm »

Hi,

I've followed the instructions correctly I think, however the result is two instances of the same file - one that is the custom thumbnail for the video file, and another that is just the thumbnail.  You can see what I'm talking about:

http://normal-design.com/copper-gallery/thumbnails.php?album=8

What went wrong?

I FTP'd a .mov and .jpg file with the same name (new-gargoyle003) and then used batch add.  I tried using the "upload file" wizard in Coppermine, but that didn't work either.

Thanks,
David

PS:  I just posted a very similar message, but it seems to have disappeared from the thread ??? so here it is again.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to use custom thumbnails
« Reply #28 on: April 02, 2005, 06:30:51 pm »

It seems your post is still there... right above your last one.
Logged

lancefiasco

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
    • http://www.gcfiasco.com
Re: How to use custom thumbnails
« Reply #29 on: April 03, 2005, 06:05:34 am »

Hmm...I still show the same thumbnails. :(

normal

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Normal Design
Re: How to use custom thumbnails
« Reply #30 on: April 04, 2005, 09:43:13 pm »

Well, so both of my posts are here afterall.  I'm not familiar with this bulletin board's interface and so I missed the page links at the bottom of the thread.  I'd like to delete the first message, but couldn't find a delete button in the modify page . . .

Speaking of things in duplicate:  Does anyone have a suggestion on how I can get the custom thumbnail to apply ONLY to the video and not end up as two file instances in the album?

Thanks,
David

http://normal-design.com/copper-gallery/thumbnails.php?album=8

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: How to use custom thumbnails
« Reply #31 on: April 05, 2005, 01:24:04 am »

You create a custom thumbnail and name it thumb_( your video file name ).jpg.  FTP to the directory the video is in.

Example:

I upload a video called mason.wmv
I create a thumbnail called thumb_mason.jpg
I upload the image into the same directory mason.wmv is in
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kickerman0622

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: How to use custom thumbnails
« Reply #32 on: April 07, 2005, 04:49:25 am »

i need help my thumbnail for a file is called thumb_vs_kfc.jpg and the map is vs_kfc.zip it works but like i click my files thing and you see the pic of the thumbnail on one thing and the file on the other side is there no way to make the picture inside the file or something like that
Logged

specialk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to use custom thumbnails
« Reply #33 on: September 17, 2005, 11:40:26 am »

Hi,

I'm trying to create a custom thumbnail for an .avi file.
1) I've uploaded via FTp and and batch added my movies.
2) Then I uploaded thumb_moviename.jpg to the same directory and ensured the .avi extension was in lower case.

Still it just shows the generic .avi thumb - what have I done wrong?

See http://www.khrm.net/gallery/thumbnails.php?album=1&page=5 at the bottom.

It's a fresh install of the latest stable version of Coppemine.

Thanks very much for your help.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to use custom thumbnails
« Reply #34 on: September 17, 2005, 09:08:21 pm »

You say the file extensions are all in lower case, but the filenames shown in the file info all show uppercase.

And if you try to open them directly in quicktime, they open when using uppercase extensions, but say file not found when using lowercase.

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

specialk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to use custom thumbnails
« Reply #35 on: September 19, 2005, 09:47:00 am »

Thanks for your quick reply. I've renamed the files using cPanels File Manager, perhaps this doesn't recognise case changes. Ill try uploading with different names.

Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to use custom thumbnails
« Reply #36 on: November 11, 2005, 12:29:15 am »

split unrelated reply. Don't hijack threads, especially not sticky ones.
Logged

kelman45

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: How to use custom thumbnails
« Reply #37 on: January 29, 2006, 12:44:45 am »

Thanks very much for the excellent info on this subject. Finally, I am able to use custom thumbnails. One remaining problem. If I load an audio or video file and the corresponding custom thumb, the thumbnail appears on the video/audio file. However, in every instance the .jpg I am using appears as well. I have two exact images in the gallery: one .jpg and one mp3.

If I create an album called "thumbnails_abc" and make it private I can hide the extra .jpg file. This works if I am loading into a category. I do not know how to resolve the duplicates in the User Galleries. When I move entries from the User Galleries to a Category, this workaround fails.

Any ideas on what I'm doing wrong?

Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to use custom thumbnails
« Reply #38 on: January 29, 2006, 11:29:35 pm »

Any ideas on what I'm doing wrong?
yes: you used coppermine's upload function to upload the custom thumbnail. You mustn't. You're suppossed to FTP-upload it. Re-read the docs, and don't reply on this thread - like I said above, it's a sticky thread that isn't meant for individual support questions. Don't force us to lock down every sticky FAQ thread!
Logged

cbonar

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: How to use custom thumbnails
« Reply #39 on: May 07, 2006, 03:11:46 pm »

I think I have the solution to your problems : the filename of the thumbnail must include the file extension of the original video.

So for instance, all you have to do is to ftp : "toto.avi" and "thumb_toto.avi.jpg" in the same directory, and batch-add "toto.avi".

No remaining undesired photo, only the video and the thumbnail !
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.029 seconds with 19 queries.