How to use custom thumbnails - Page 2 How to use custom thumbnails - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to use custom thumbnails

Started by omniscientdeveloper, May 28, 2004, 08:29:35 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

loverboy

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!

MDxRacing

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

Casper

Please read the thread I am attaching this to from the beginning.
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

#23
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

MDxRacing

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

MDxRacing

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

normal

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

normal

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.

Tranz

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


normal

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


kegobeer

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
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

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

specialk

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.

Casper

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.

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

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!

Joachim Müller

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

kelman45

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.

Joachim Müller

Quote from: kelman45 on January 29, 2006, 12:44:45 AMAny 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!

cbonar

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 !