• [MOD] Multi Size Download of same image [ver 4.7] 5 0 5 1
Currently:  

Author Topic: [MOD] Multi Size Download of same image [ver 4.7]  (Read 433508 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #15 on: October 15, 2008, 02:04:29 AM »
HI,

This is my files, can you please modify these for me

Code: [Select]
http://rapidshare.com/files/154050831/4images.zip.html
I will be very thankful to you :)

Just PM'd you the information you requested...
Buddy Duke
www.budduke.com

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #16 on: October 23, 2008, 08:35:42 AM »
Hi, Thanks for this mod dear, I installed this on fresh 4images & Everything is fine now, but I am not seeing Multi Download button/Link on detail page, I believe this is my details.html (Template file) problem, here is my details.html, please guide me what should I change there.

Thanks Again

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #17 on: October 23, 2008, 12:10:19 PM »
It looks like your details.html is setup correctly...

You are probably not activating the multisize download.
Go to your admin control panel and go to the catagory you are wanting to use this option and select edit.
You will see an option to turn this on for that catagory.
when you turn it on it will replace the normal download button and zip button with the new multi-size download button.
Buddy Duke
www.budduke.com

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #18 on: October 23, 2008, 12:45:59 PM »
Thanks, Now another problem is here,

Quote
Fatal error: Call to undefined function check_big_type() in C:\xampp\htdocs\gallery\includes\functions.php on line 200

Is there any problem with my localhost, I am running this on my localhost ?

Here my functions.php


Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #19 on: October 23, 2008, 04:14:24 PM »
What version of 4images are you using?
Look back on the other replies. I remember someone else having that error and they had 1.7.4
I am running 1.7.6 so I am not sure if that checkbigtype was added to the new version or not.
I am not sure why that error comes up but I think I posted a possible fix for it.
http://www.4homepages.de/forum/index.php?topic=22741.msg124814#msg124814
Buddy Duke
www.budduke.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi Download of same image
« Reply #20 on: October 23, 2008, 04:31:46 PM »
I am running 1.7.6 so I am not sure if that checkbigtype was added to the new version or not.
No, its not part of 4images. It's [Mod] Show original image in new window by clicking on image
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #21 on: October 23, 2008, 09:54:17 PM »
Hi,

I am very near to success,

Please check this

http://www.desktophut.com

Problem is, I uploaded high resolution images of over 1600x1200, when I try to download 1600x1200 image to 640x480, it become very blur, Even, if I download 1600x1200 image with same 1600x1200 resolution, result is same, Blur.

Please check at http://www.desktophut.com

Thanks

Kind Regards

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #22 on: October 23, 2008, 10:07:47 PM »
in your admin control panel what is set under the
Conversion tool for thumbnails?
Mine is set for GD ...

not sure if that is where the problem is or not...

update...
look for this in the download.php file
Code: [Select]
$multi_var = multi_download_resize($multi_resize,$multi_new_image,90,$download_multi_sizes[$multi_download_select][1],$download_multi_sizes[$multi_download_select][2])
look for that ,90, in that line. I was using that for compression. I think in the GD library it gives you 90% of the quality.
maybe one of the others are thinking you are wanting to compress it by 90%.
Test it by changing it to ,10, for 10% compression and see what it does...
You will have to delete the resized files so it will re-create them again for you...

Buddy Duke
www.budduke.com

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #23 on: October 24, 2008, 12:05:53 AM »
Hi,

I am using 4images v1.7.6

Mine is GD too there,
Also, I have changed 90 to 10, but still result is same, blur images :(

admin/admin , login & password

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #24 on: October 24, 2008, 12:27:49 AM »
... Mine is GD too there, ... , but still result is same, blur images ...

FAQ -> Bad thumbnail quality with GD2
http://www.4homepages.de/forum/index.php?topic=4543.0
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #25 on: October 24, 2008, 12:46:50 AM »
Hi,

I am using 4images v1.7.6

Mine is GD too there,
Also, I have changed 90 to 10, but still result is same, blur images :(

admin/admin , login & password

if the fix from mawenzi does not fix your problem try this modified function file I have attached...
Let me know what it does so I can figure out how to better post this mod.
Buddy Duke
www.budduke.com

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #26 on: October 24, 2008, 07:59:25 AM »
Wow, I did all & now, its working very fine. Please if you can test at your end, please test

Thanks all for great help.

Long Live 4images , Long Live budduke :D

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #27 on: October 24, 2008, 12:03:49 PM »
Wow, I did all & now, its working very fine. Please if you can test at your end, please test

Thanks all for great help.

Long Live 4images , Long Live budduke :D

Can you try putting the CONVERT_IS_GD2 back to 0 and see if everything is still working or not so we have an idea if that fixed it or the modified file I sent you?
Buddy Duke
www.budduke.com

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Multi Download of same image
« Reply #28 on: October 24, 2008, 12:49:49 PM »
Hi,

Modified file to this, Convert_IS_GD2 didn't make any progess,

I have already changed Convert_IS_GD2 back to 0

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Download of same image
« Reply #29 on: October 24, 2008, 02:52:13 PM »
My mod must be pulling from functions that are not native to 4images.
I have a version 2 of this mod ready to be published...
I will install it on a fresh install of 1.7.6 and make sure everything works before I publish it.

Glad it is working for you!
Buddy Duke
www.budduke.com