• [TUT] One Image - Three Sizes 5 0 5 1
Currently:  

Author Topic: [TUT] One Image - Three Sizes  (Read 85720 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
[TUT] One Image - Three Sizes
« on: February 12, 2008, 10:36:05 AM »
 :flag-en: - first only a englisch version ...
 :flag-de: - eine deutsche Version kommt bald ... oder später ... ;) ... zwischenzeitlich nutze diese Deutsche-Google-Übersetzung ...


... A answer of your "Three Images Request" ...
... it is not a MOD ... it is only a tutorial ... the MODs are already there ...
... three image sizes by uploading of one image via website / browser ...

  • 1. image size - Thumbnail  on category / search list ... (e.g. 100 x 75 px - settings via ACP by default)
  • 2. image size - Medium Image on detail site ... (e.g. 800 x 600 px - settings via ACP after modifying)
  • 3. image size - Big Image for downloading or in extra window ... (e.g. 1.600 x 1.200 px - the original image)

... if you want to show these three image sizes on your 4images website, you can modify your website as following ...

1. [Mod] Auto image resize on upload
http://www.4homepages.de/forum/index.php?topic=7700.0

2. [MOD] Auto copy original file to /big/ folder by resize on upload
http://www.4homepages.de/forum/index.php?topic=7700.msg22313#msg22313

3. [MOD] Alternate directory for download files
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712

4. [Mod] Show original image in new window by clicking on image
http://www.4homepages.de/forum/index.php?topic=3236.0

... this will show you one solution of your "three images request" ...
... you can also find some other ways and solutions of a "three images request" here in the 4images forum ...
... and if you would like to test all these MODs together as "One Image - Three sizes" ...
... then feel free to upload a big nice image on my website ...
... as reg. user without image activation ... as unreg. user with image activation by admin ...



... But remember ... with the resizing MOD you are loosing the exif-infos and the iptc-infos from your images ...
... but there are still other ways to show the exif-infos / iptc-infos on the detail-page ...
... the loosing of the exif-infos / iptc-infos is not a 4images problem ... it's caused by using of the modul "GD Bibliothek" for resizing (look in your APC-settings) ...
... here some solutions to show exif-infos / iptc-infos on detail-page by using resizing MOD during the image upload via browser / website-uploadform ...

1. by storing of the exif-infos / exif-infos during the upload process ...
    [MOD] EXIF V.1.7.6 Suchfelder Erweiterung : http://www.4homepages.de/forum/index.php?topic=21053.0 ...
    [MOD] IPTC V.1.7.6 Suchfelder Erweiterung : http://www.4homepages.de/forum/index.php?topic=21141.0

2. by using of the big-folder solution ( storing of the original image in the big-folder ) and reading of the exif-datas from the "big"-image ...
    [TUT] One Image - Three Sizes : http://www.4homepages.de/forum/index.php?topic=20496.0 ...
    and then is to change the path to the big-images in the "exif function" and "iptc function" in includes/functions.php ...
    [Snippet] Exif-Info from big images : http://www.4homepages.de/forum/index.php?topic=26066.msg142093#msg142093

3. by using of "ImageMagick" instead of "GD Bibliothek" for image resizing ( via your APC-General Settings, if it is possible by your Host ) ...



Other solutions of a "Three Images Request" ...

- [Addon] Highslide from Thumbnail Image : http://www.4homepages.de/forum/index.php?topic=20461.0
- [TUT] 3 Bildgrößen mit phpthumb : http://www.4homepages.de/forum/index.php?topic=7131.0
- [MOD] Details Ansicht / Größe des Bildes begrenzen : http://www.4homepages.de/forum/index.php?topic=9885.0
- [Addon] Huddletogether-Lightbox : http://www.4homepages.de/forum/index.php?topic=11115.0
- [Snippet] Unterschiedliche Bildgrößen in details und postcard : http://www.4homepages.de/forum/index.php?topic=21980.0
- [MOD] Scale Images to fit in browser/ Bilder dem Browser anpassen : http://www.4homepages.de/forum/index.php?topic=15680.0
- [MOD] PHPThumb for Smaller detail image preview (to save traffic) :  http://www.4homepages.de/forum/index.php?topic=25061.0
- [Snippet] Integrar script timthumb.php a 4images : http://www.4homepages.de/forum/index.php?topic=26070.0



... and if you want a solution of your "three images request" by uploading via FTP ...
... then you need a new /admin/checkimages.php ...
... but this should be a new tutorial / mod ...
« Last Edit: November 13, 2012, 07:37:24 PM by mawenzi »
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 Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [TUTORIAL] One Image - Three sizes
« Reply #1 on: February 12, 2008, 10:41:18 AM »
thx detlef  :!:
« Last Edit: February 12, 2008, 01:20:30 PM by Nicky »
cheers
Nicky
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 ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline _AsX_

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #2 on: February 29, 2008, 09:08:10 AM »
Thank you :)

Merci ...

Offline lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #3 on: July 03, 2008, 12:00:28 PM »
I have installed all these mods, & happy with them. But I have a little problem, I hope mawenzi will help me

As image resize by this mod (for better view of gallery)
http://www.4homepages.de/forum/index.php?topic=7700.0

the problem is when user download image by download button, resized image download instead of full size image. I mean, I have uploaded 1600x1200 images, which I resize to 600x480 for better view, 1600x1200 has been copied in big folder, but when user download image by download button, it download 600x480 resolution image instead of downloading 1600x1200. But user can download full size image of 1600x1200, by click 600x480 images, by using this image.
Quote
[Mod] Show original image in new window by clicking on image
http://www.4homepages.de/forum/index.php?topic=3236.0

This problem has been fixed by this Mod
Quote
[MOD] Alternate directory for download files
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712

So, my problem is only this, I have to upload the same image for 3 times, First in category, then in big folder & in download folder, The image in category got resized, but the image in image in big & download folder are same, same size & same resolution, So, can I use only one directory instead of these two, this will save my disk space.

Any Suggestion ?

Waiting for response!

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #4 on: July 03, 2008, 09:07:01 PM »
... mmm ...
... after you install all the modifications from this tutorial the download must work from the big-folder ...
... sometimes you must change the folder name fom "download" to "big" in the MOD from Chris (Alternnate ... ) ...
... the right way is ... you must only upload one image ... not the same image 3times ...
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 lona_jasty

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #5 on: July 04, 2008, 09:21:48 AM »
Quote
... mmm ...
... after you install all the modifications from this tutorial the download must work from the big-folder ...
... sometimes you must change the folder name fom "download" to "big" in the MOD from Chris (Alternnate ... ) ...
... the right way is ... you must only upload one image ... not the same image 3times ...


Thanks mawenzi for your Support, I have do this, Happy now  :D

Offline ckmuc

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #6 on: July 31, 2008, 03:48:52 PM »
I am Lost ... This is exactly the function we need (3 images sizes), but I cannot get it to work (right now, uploading does not work at all  8O).

You refer to several Mods here:
Some of them seem to be outdated and there are a lot of "corrections" posted to these Mods...

I tried to get them all organized, but now Uploads do not work at all. We have the most current Version 1.7.6 installed and are registerd licensee.

Is there a "all in one Post" solution or can someone PLEASE supply the adapted files
Esp. these files:
  • download.php
  • functions.php
  • details.html


As our System is "totally new" the "file option" would really do the trick ... THANK YOU

Christian

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #7 on: September 12, 2008, 11:45:57 AM »
I tried this mod in combination with
http://www.4homepages.de/forum/index.php?topic=20496.0
and it works just great on version 1.7.6

... thanks for your statement ... ;)
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 5degrees

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #8 on: November 19, 2008, 04:18:38 PM »
Is it necessary to complete all 4 MODs to complete this desired effect or is each MOD a separate solution in its own right?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] One Image - Three sizes
« Reply #9 on: November 19, 2008, 05:44:11 PM »
@5degrees

... each MOD is a separate solution and works in its own ...
... right ... !
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 Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Frage zu nem TUT
« Reply #10 on: December 02, 2008, 10:45:38 AM »
Hallo, bei den Tuts gibts das "[TUT] One Image - Three sizes". Gan z unten steht, bei nem upload per FTP gibts n neues Tut. Gibts da schon was? Ich hätte gerne diese funktion, habe aber nur vor der FTP upzuloaden.

Danke Gruß Christian

Offline ripejuice

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Sexy Wallpapers
Re: [TUT] One Image - Three sizes
« Reply #11 on: December 08, 2008, 10:21:26 PM »
thank you mavensi....will this affect google images ranking due to duplicate same images

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: [TUT] One Image - Three Sizes
« Reply #12 on: February 28, 2009, 12:00:06 AM »
Hello!

After i install "Auto image resize on upload" are there an error telling that the system havent´ the memory for working whit sutch as large files when i upload large pictures. How can i fix that (it is ok for me if i could make an max. file size before uploading like before, where it sayed that the file must be max 1024 px. and you had an opportunity to re-upload)

Do i need to install the "Alternate directory for download files mod" before it will work? (download is set to no, so noone can download)

And witch file do i need to edit in  "Auto copy original file to /big/ folder by resize on upload"

Thank you VERRY mutch!
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [TUT] One Image - Three Sizes
« Reply #13 on: March 02, 2009, 03:43:20 PM »
Quote exact error message please.
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 flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: [TUT] One Image - Three Sizes
« Reply #14 on: March 02, 2009, 04:05:10 PM »
Quote exact error message please.

Thanks for the answer!

It is the "normal" Fatal error: Allowed memory size of ...
But is it possible to make 3 sizes whitout the resize mod, or is it possible to inset some code, so the mod starts to chek how large the file is, and then cancel the uploading if the picture is too big (like before were it said "unkonown filesize"
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

 

Post your comments here