• [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 433122 times)

0 Members and 1 Guest are viewing this topic.

Rembrandt

  • Guest
Re: [MOD] Multi Size Download of same image [ver 3.1]
« Reply #135 on: March 13, 2010, 06:54:10 PM »
Hi!

@budduke, he need this:

     <optgroup label="Widescreen 16:9">
       <option value="2560x1440">2560x1440</option>
       <option value="1920x1080">1920x1080</option>
      </optgroup>
     <optgroup label="Widescreen 16:10">
       <option value="2560x1600">2560x1600</option>
       <option value="1920x1200">1920x1200</option>
     </optgroup>

mfg Andi
     

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 3.1]
« Reply #136 on: March 17, 2010, 12:26:29 AM »
@ Tiburon,
I think it I can do it but it would take some redoing of some of the coding to make it work...
Let me think about it, I am also looking into the opening instead of download request on this Mod also...

@ Rembrandt,
Thanks for clarifying it for me...
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 3.1]
« Reply #137 on: March 28, 2010, 12:41:47 PM »
@ Tiburon,
I think it I can do it but it would take some redoing of some of the coding to make it work...
Let me think about it, I am also looking into the opening instead of download request on this Mod also...

Thanks for doing such a fantastic support. :)

I have another little problem that I canīt solve.
Iīm using your mod together with this one: http://www.4homepages.de/forum/index.php?topic=7700.msg22313#msg22313

What happens now is that everything works fantastic when I choose the option "Yes, Allow all sizes to be selectable". The mod chooses obviously the copied original image in the big-folder to resize the images and does the work.

The problem appears if I choose "Yes, Only allow smaller sizes then original to be selectable". In that case I get no Download-Options in the Dropdown menu. As far as I can see, it seems that the mod in that case doesnīt check the "big" folder with the copied original image, but the basic folder of the category and there is only the small, resized image that is shown on detail.php so that no options in the dropdown are shown. (This image has smaller dimensions than the smallest resolution that I want to offer as download)

Do you have any idea what I have to change, or where my fault is ??



----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 3.1]
« Reply #138 on: March 28, 2010, 06:40:33 PM »
@ Tiburon,
I would say something got placed in the files incorrectly because I am using the same mod without those types of issues.
If you could zip all your files that got changed with these 2 mods and give me a link to download the zip file, I will try to look it over to see if I see anything...
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 3.1]
« Reply #139 on: March 28, 2010, 08:19:02 PM »
@ Tiburon,
I would say something got placed in the files incorrectly because I am using the same mod without those types of issues.
If you could zip all your files that got changed with these 2 mods and give me a link to download the zip file, I will try to look it over to see if I see anything...

Well, thanks for the offer.  :)

First I will try it again with a clean installation to check it because I donīt want to waste your time, but when the result is the same I would be very glad if you would be so kind to look over it. Thank you !
----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.0]
« Reply #140 on: April 11, 2010, 12:44:18 AM »
@Tiburon,

I just replaced my original post with version 4 of this mod that includes
the grouping option that you ware requesting
and the popup window instead of download (not set by default, look at the insert variable for TARGET in the Global insert)

let me know how it works for you...
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 4.0]
« Reply #141 on: April 19, 2010, 10:29:03 AM »
Hi budduke,

first of all, thank you for spending the time to do such excellent improvements.

I tried the mod with a brandnew installation of 4images 1.7.7 First I had problems with the download.php but when I chose the one you provided earlier in this thread and modified it this problems were solved.

I installed the mod and these two Mods :

http://www.4homepages.de/forum/index.php?topic=6759.0
http://www.4homepages.de/forum/index.php?topic=4754.0

Finally there is only one problem left that I couldnīt solve until now:

I uploaded an image, checked it with new checkimages.php and chose the option to copy original file to "big" folder. I selected "Yes, Only allow smaller sizes then original to be selectable" in ACP and then happens that mod doesnīt choose the image in "big" folder with the copied original image to create new download options, but the basic folder of the category and there is only the small, resized image in basic folder. As the size of resized image is 640x360 I get all the smaller options (Blackberry and Mobile) in my dropdown.

Update: I found out that the mod "knows", that the original file is in the "big" folder, because wenn I choose the "original file, it is the big one from "big" folder. I assume that I have to install another mod to make this thing work (but I donīt know which) Another possibility would be that the script "calls" the wrong imagepath at the point of resizing the image. Do you have any idea ??

To be sure that I didnīt make mistakes when I installed the mod, I did it now 4 times (twice on my local server, twice on my server) but the result is the same.


« Last Edit: April 19, 2010, 04:26:10 PM by Tiburon »
----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.0]
« Reply #142 on: April 19, 2010, 11:37:15 PM »
@ Tiburon,
The easiest way would be to zip your changed files and post them or send me a link to download them from and I will take a look at them.
I use a program that compares file very easy and points out the differences pretty quickly so it will not take much of my time to look it over...

PS: I am also using the other mods you listed without any problems
Buddy Duke
www.budduke.com

Offline Tiburon

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.hintergrundbilder.de
Re: [MOD] Multi Size Download of same image [ver 4.0]
« Reply #143 on: April 20, 2010, 09:26:07 AM »
Hi budduke,

I sent you a link with the files via PM. Thanks a lot for checking my files.  :)
----------------------------------

Have a nice Day

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.0]
« Reply #144 on: April 21, 2010, 02:59:55 PM »
@Tiburon and eveyone else,
version 4 has an issue, wait for update before using

UPDATED: fixed a programming bug in the one insert for the functions file, it reads (updated for ver 4.1)

also, if you are using the big mod, make sure you have everything that is posted at this link in your functions file also...
http://www.4homepages.de/forum/index.php?topic=22741.msg126345#msg126345

« Last Edit: April 24, 2010, 08:47:40 PM by budduke »
Buddy Duke
www.budduke.com

rinaldos

  • Guest
Re: [MOD] Multi Size Download of same image [ver 4.1]
« Reply #145 on: May 05, 2010, 06:25:32 PM »
This MOD works great. Maybe another feature for the next version:
Original Images only for registered Users

Gruß
Ingo

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.1]
« Reply #146 on: May 16, 2010, 12:27:51 PM »
Hello :)

I've a error :
Code: [Select]
An unexpected error occured. Please try again later.

Warning: Cannot modify header information - headers already sent by (output started at /homez.93/fondecra/www/includes/db_mysql.php:192) in /homez.93/fondecra/www/includes/sessions.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /homez.93/fondecra/www/includes/db_mysql.php:192) in /homez.93/fondecra/www/includes/sessions.php on line 169

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.1]
« Reply #147 on: May 16, 2010, 03:45:35 PM »
@satine88,
Did you run the installer file to place the entries in your database?

It looks like you have placed some information in the wrong places...

If you have tried a few times and still can not get anywhere, zip the changed files and provide me a link to download them and I will take a look...
Buddy Duke
www.budduke.com

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.1]
« Reply #148 on: May 16, 2010, 06:14:29 PM »
@satine88,
Did you run the installer file to place the entries in your database?

It looks like you have placed some information in the wrong places...

If you have tried a few times and still can not get anywhere, zip the changed files and provide me a link to download them and I will take a look...

I reinstalled the mod, I have no error, but I have no module in the page detail.html

I tested by turning on the category (via admin / categorie.php)
http://www.fond-ecran-gratuit.biz/cat-korn-344.htm

the changed files :
http://rapidshare.com/files/388030694/budduke.rar.html
Thank you, sorry for my English (if I do a lot of fault)

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.1]
« Reply #149 on: May 16, 2010, 07:40:36 PM »
@satine88,
Just sent you a link of the repaired functions file...
Let me know if it fixes it or not.
Buddy Duke
www.budduke.com