forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: tmas73 on September 07, 2006, 07:34:13 pm

Title: Custom Thumb with a zip
Post by: tmas73 on September 07, 2006, 07:34:13 pm
I started a post in the 1.4 category and they mentioned to look into Stramms Mod for possible solutions. So here I am!

Quote
My goal is to have a user upload a zip and a jpg file and it should show in the gallery as one file. Zip with a custom icon, now I have 2 files. Also it is not possible for a user to upload via ftp. Can this be done? Also it seems the icon for the zip in the image view is smaller than the jpg preview. Can this be changed?

Full post:
http://forum.coppermine-gallery.net/index.php?topic=35772.0 (http://forum.coppermine-gallery.net/index.php?topic=35772.0)

So here my question is it possible to do with Stramms Mod? A User upload with a custom thumb for preview and on click a zip download?

Thomas
Thanks
Title: Re: Custom Thumb with a zip
Post by: Stramm on September 07, 2006, 08:18:52 pm
Quote
My goal is to have a user upload a zip and a jpg file and it should show in the gallery as one file.

There's a possibility for users to upload movies and later (in the file edit dialog) upload a custom thumb for it. With some coding it might be possible to use this functionality for zips too

Quote
Also it seems the icon for the zip in the image view is smaller than the jpg preview. Can this be changed?

This has been changed for CPG 1.5 (watermark, thumb cropping and sharpening is a core feature then). I do not plan to change it for 1.4, you'd have to change the icons to fit exactly the size you use (only if you use 'exact' as resize method)
Title: Re: Custom Thumb with a zip
Post by: tmas73 on September 08, 2006, 01:48:57 am
Thanks Stramm! Ok I got it to work. Also where can i fing CPG 1.5

Thanks

Thomas
Title: Re: Custom Thumb with a zip
Post by: Joachim Müller on September 08, 2006, 07:04:49 am
Also where can i fing CPG 1.5
Not at all, it hasn't been released yet. You're free to check out the devel branch of the svn if you know your way around for testing purposes. You shouldn't run it in a production environment. If you don't know what checking out or svn is, you'll have to wait for the release.
Title: Re: Custom Thumb with a zip
Post by: Stramm on October 04, 2006, 12:54:50 pm
I've decided to offer a fix for that issue for CPG 1.4. Can be downloaded on my demo site (sig)