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

0 Members and 1 Guest are viewing this topic.

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #225 on: April 12, 2011, 05:47:24 AM »
@budduke 

Thanks for your fast reply.

Some more info for you:
I use version 1.7.9
You can find the site at http://www.friendsinwar.com
There is a test catagory for you at: http://www.friendsinwar.com/categories.php?cat_id=29
I changed the dot to "Yes, Only allow smaller sizes then original to be selectable" (The rest of the site is "Yes, Allow all sizes to be selectable").
You can download the .zip with the changed files at: http://www.friendsinwar.com/MOD_-_Multisize_download_-_Changed files.zip

I hope didn't forget to mention.
Thanks for you your time.



Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #226 on: April 13, 2011, 02:09:16 AM »
@ wallpapers,
Not sure which big folder mod you were using. I went in and cleaned up as much as I could. Hopefully there wasn't any leftover code...
The Big folder mod I am using and most people with 1.7.9 is
http://www.4homepages.de/forum/index.php?topic=7499.msg148451#msg148451
I placed it's code in the attached files, make sure you backup your original files before placing these in their place in case something is still lurking from the big code that you put in. You may want to remove anything I may have forgot and then make sure you just have the above linked code instead in your files then everything should work correctly for you...
Buddy Duke
www.budduke.com

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #227 on: April 13, 2011, 05:45:45 AM »
@budduke

I have checked your files and it's working perfectly.
It's amazing.
Thank you very much for doing this. :D

I don't know for sure witch "big mod" it was.
I trys so many things and changed so many thing by my own. (but i think you saw it in the crappy code  :roll:)

But anyway it's working fine now and once again thanks.



Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #228 on: June 12, 2011, 05:57:16 PM »
Hello Friends  :)

I am not expert but i can follow instructions. So i want to know that, Is these links generated by this mode indexed by Google if not then no problem. But if Google indexed these links then Please someone guide me how to place meta data in these links. As i can see
there is only image files shown and i am not able to figure it out how to do this.

Thanks

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #229 on: June 12, 2011, 06:57:44 PM »
Hello Friends  :)

I am not expert but i can follow instructions. So i want to know that, Is these links generated by this mode indexed by Google if not then no problem. But if Google indexed these links then Please someone guide me how to place meta data in these links. As i can see
there is only image files shown and i am not able to figure it out how to do this.

Thanks

I am assuming you are talking about opening the images in a new window...
Google would only index your details pages and not the resized images because you have to hit the submit button to get to them (at least I think that is correct)
I thought about using a template for the popup window but never went down that road as of yet, if more people are asking for it I may look into it.

UPDATED: I looked a little further into it, if you are using the text/image links then there is no submit button and I am assuming that Google would try to follow those links which would just be the popup with the image in it. If I get some extra time I will see if I can come up with a template you could use for the popup unless someone that know google better then me knows that they do not follow popups
« Last Edit: June 12, 2011, 07:49:29 PM by budduke »
Buddy Duke
www.budduke.com

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #230 on: June 12, 2011, 10:56:41 PM »
Thanks for Reply

You are right i am talking about text links. I am not seo expert. I ask because i use this with "Google Friendly Urls For 4images Best Seo Mod" and what link i see is also goggle friendly. I thought it will be good if we put meta tags there. And as for popup window if you see
with right click page source file, You will see with Google friendly mode in any category all thumbnail images open with popup windows.
And i saw some site having these types of links get indexed.

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #231 on: June 16, 2011, 03:03:10 PM »
Hello Budduke  :)

Besides template i have another problem to solve. This problem related with your mode work with "Google Friendly Urls For 4images Best Seo Mod".

With Google Friendly Urls Mode when i change in detail page dropdown box to text links it show link like this (/download.php?action=resize&;image_id=64&;multi_download_select=1)

But when i turn this to Image option it work fine and show link (/download-art-design-002-26-1-800x600.htm).

I want text option instead of image option. Please help.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #232 on: June 17, 2011, 12:38:32 AM »
@kar76,
Can you post or send me your sessions.php and .htaccess files for me to look at?

I looked over my code and everything looks correct.
When I use the dropdown list I get (/download.php) in my address bar.
the text/image links give the full (/download.php?action=resize&;image_id=64&;multi_download_select=1)
I am not seeing the download-image-size.htm link.

PS:
I got the template ready for your other request, but I will wait to post update to this mod till I make sure I do not have to modify anything else in the code for this problem
Buddy Duke
www.budduke.com

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #233 on: June 17, 2011, 01:51:55 AM »
Hello budduke

I have uploaded whole Mobile Server Setup which i am using to customize code and template. You can download it from this link ( http://www.mediafire.com/?7xssjb9i5s2z8sq ) use this setup to understand what i want. As i mention in fist reply i am not using this model alone. I am using this mode with "Google Friendly Urls For 4images Best Seo Mod". The links should be "download-image-size.htm".

If you use image links it is (/download-image-size.htm) this is correct but if you change to text links it is (/download.php?action=resize&;image_id=64&;multi_download_select=1) this is wrong


And

One more problem i am facing its related to Autoresize image. This problem you can find in attached setup too.
As with your mode when someone upload image it show images smaller and equal than upload size but if i resize image it started to show size smaller than resized image. It must show size smaller than orignal uploaded size not resized size. You can see in setup what i mean.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #234 on: June 18, 2011, 12:43:11 AM »
@kar76,
It looks like whatever tool you used for editing your functions.php file added some semi-colons where they should not have been. I re-checked my code posted and it is correct.
attached is your repaired functions.php file.

the other resize problem is normal for a default install, if you are wanting to keep the original "big" size file after resizing it in the admin area you need to install the mods in this tutorial.
http://www.4homepages.de/forum/index.php?topic=20496.0

PS: anyone who sends me Avril Lavigne to look at is alright in my book  :)
I would love to see your site when finished, if you could PM me a link. I collect celeb pics for awhile now...

I should have your other request (popup template) posted this weekend. We have some strongs storms coming through, so will have to wait and see how the weekend goes.
Buddy Duke
www.budduke.com

Offline Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #235 on: June 18, 2011, 06:03:22 PM »
hi
this mod work perfect with 1.7.10   8)
http://www.pj-firepower.com/picgallerie/details.php?image_id=5969

but i have a questions for what is the "big" folder ?
have i do create this folder ? or create the program this automatic ?
can i give pics on it ???

can i set autmatic the system on ? or have i do it with all categories ....

best regards
jeff

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #236 on: June 18, 2011, 08:52:31 PM »
hi
this mod work perfect with 1.7.10   8)
http://www.pj-firepower.com/picgallerie/details.php?image_id=5969

but i have a questions for what is the "big" folder ?
have i do create this folder ? or create the program this automatic ?
can i give pics on it ???

can i set autmatic the system on ? or have i do it with all categories ....

best regards
jeff

My mod creates the big folder (if not already there) as needed...
But if you want to use the big mod folder you will need to install the mods in the tutorial...
http://www.4homepages.de/forum/index.php?topic=20496.0
The overview of the big folder is that when you resize your images to place them on your detail pages in a smaller fashion, the big mod stores the original files (the big sized ones) in the big folder and when you users download them after installing the mods in the tutorial they will download the original (big) files instead of the resized ones that are displayed on your detail pages


ALSO,
Just posted the update to version 4.4
I fixed an error I was seeing on my site (division by zero warning)
Added Template to the popup window that was requested.
The only downlside I see to allowing google to index the popup window is that if someone clicks on the google link going directly to the popup window that was indexed then the user will see a message "hotlinking not allowed", which is the way 4images stops people from linking directly to the images on your site. I did see somewhere, you can turn this off, but I feel it would be better not to index the popups. (my 2 cents)
« Last Edit: June 18, 2011, 09:42:13 PM by budduke »
Buddy Duke
www.budduke.com

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #237 on: June 18, 2011, 09:44:25 PM »
 Hello budduke

I have problem related to Dimensions.

I have uploaded image of Dimension 1920x1200 and re-sized it to 580x362 . Original file save in Big folder. But on detail page it show Dimensions Smaller than 580x362. There is no dimensions like 1600x1200 or 1024x768 etc.

But when i click on Orignal Size link it show orignal image in open window. But url show -580x362.htm
I attach screen-shot

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Multi Size Download of same image [ver 4.3]
« Reply #238 on: June 18, 2011, 10:36:51 PM »
Hello budduke

I have problem related to Dimensions.

I have uploaded image of Dimension 1920x1200 and re-sized it to 580x362 . Original file save in Big folder. But on detail page it show Dimensions Smaller than 580x362. There is no dimensions like 1600x1200 or 1024x768 etc.

But when i click on Orignal Size link it show orignal image in open window. But url show -580x362.htm
I attach screen-shot

If you change the categorie back to the default 4images download button, which image does it download? the 1920X1200 or the 580X362?
Buddy Duke
www.budduke.com

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] Multi Size Download of same image [ver 4.4]
« Reply #239 on: June 18, 2011, 11:44:50 PM »
On default Download Button it download 580X362 dimension which i resized.

With your mode on clicking Original Size it show 1920x1200, Which saved in big folder.

It link the real image from big folder but can not identify dimension.

Dimension identify from category (main) folder.