4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: naif824 on March 17, 2005, 05:52:33 AM

Title: How to Download another zipped file instead of the Picture?
Post by: naif824 on March 17, 2005, 05:52:33 AM
Salam Guyz

I have a Strange question didnt find an answer for it ! i'll explain step by step to make it easier :)


I have a web design templates , I made a 4images gallery to show them

http://www.d6b.net/44

its clear that when I add an image , it will make a thumbnail images directly

like these :

http://www.d6b.net/44/categories.php?cat_id=13&sessionid=69a4aa3df37eabfe5ad563f876c6695b

click at any image :

http://www.d6b.net/44/details.php?image_id=14

see the download links below : download & download zipped

assume that the picture for a template file

I want to create a new folder contain all templates zipped with names like that images names !!

so the picture will only show the template demo , and when I click the "download zipped" button , it downloads the zipped file that contains the whole template


I hope the idea is clear now , if there is any thing unclear plz let me now and i'll clarify it again


Best regards

Title: Re: How to Download another zipped file instead of the Picture?
Post by: Chris on March 17, 2005, 06:49:29 PM
You don't need a mod.  Just zip your template files, upload the zip using FTP to some place on your server, then use the download URL setting for the image.  The download button for the image will then deliver the ZIP file to the visitor
Title: Re: How to Download another zipped file instead of the Picture?
Post by: naif824 on March 18, 2005, 03:41:20 PM
Thx man

this is the code to download the zipped file

Code: [Select]
{download_zip_button}
assume for example that i'll have the image in :

data\media\1\123.jpg

and the zipped template file in :

data\zipped\1\123.zip



What shall I modify this way?


regards
Title: Re: How to Download another zipped file instead of the Picture?
Post by: Chris on March 18, 2005, 04:09:40 PM
No, it's just the
Code: [Select]
{download_button}  You don't modify anything.  You just edit the image and set the DOWNLOAD URL to http://www.example.com/4images/data/zipped/1/123.zip
Title: Re: How to Download another zipped file instead of the Picture?
Post by: naif824 on March 18, 2005, 05:17:52 PM
Man , thx for being helpful

I need that to be automated !

Since i'll add almost 2000 templates by FTP

So any idea now?
Title: Re: How to Download another zipped file instead of the Picture?
Post by: naif824 on March 19, 2005, 08:31:57 AM
Any Idea?
Title: Re: How to Download another zipped file instead of the Picture?
Post by: Chris on March 19, 2005, 07:44:56 PM
Offer to hire a consultant to write some PHP/SQL to batch edit your database.  This process is very detailed, very prone to error and way more than I have time to post.  Post your request either here or in the Chit Chat forum.  I think I recall some people offering their services there
Title: Re: How to Download another zipped file instead of the Picture?
Post by: naif824 on March 24, 2005, 12:39:20 AM
Ppl , It's an OFFER !

Any PHP Experts , wanna modify this issue



How much that would cost me?



regards
Title: Re: How to Download another zipped file instead of the Picture?
Post by: sniz on March 25, 2005, 08:06:39 PM
I second the motion. I am looking for the same functionality.
Title: Re: How to Download another zipped file instead of the Picture?
Post by: sniz on March 29, 2005, 06:45:58 PM
It seems there was a mod for this at one time called "download high-res" that was lost in the hacker attack. Does anyone have the original mod that they can re-post or is there anyone out there that can recreate the mod? After searching through the forums, it looks like there are several people out there in need of this.
Title: Re: How to Download another zipped file instead of the Picture?
Post by: xxx007xxx on April 01, 2005, 01:11:04 AM
I second the motion. I am looking for the same functionality.