Author Topic: need intermediate preview image on detail page !!!  (Read 20392 times)

0 Members and 1 Guest are viewing this topic.

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« on: May 01, 2003, 08:28:00 PM »
8O hey jan, vano, vividview -

can anyone create some coding so that when one views the detail page they get a preview image (larger than the thumbnail - smaller than the original image) so that the user can see the entire image and description/iptc info without having to scroll thru the entire page.

i have clients that require a full 300 dpi image set to 10" longest (3000 pixel) dimension and if i resize the master image .. then they lose the resolution/sizing etc ..

i have not been able to find a thread/mod that creates this intermediate image for the detail page ...

can someone offer some assistance with this mod and post the appropriate coding for each of the php/html files?

requirements:
1) a) preview mod should auto reduce the longest dimension to something like 1/5 the original size ~~ 400-600 pixel x 200-300 dpi to conserve space (max file size - 50kb)

   b) open as a separate static window (wishlist item !)
   
2) have a plugin checker so that it functions as an auto-checking plugin for existing preview images similar to the files-check plugin for thumbnails? (or be combined with the files-check plugin?)

3) when image is lightboxed or selected for download - then the master image is selected and placed in the queue/zip package etc ..

all help is appreciated
bruce

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
need intermediate preview image on detail page !!!
« Reply #1 on: May 01, 2003, 09:11:09 PM »

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
need intermediate preview image on detail page !!!
« Reply #2 on: May 01, 2003, 09:28:51 PM »
Quote from: bgmurphy
i have been thru this thread ... for me it is overkill !!

if this is overkill for u, then what u r trying to do is deffenetly overkill for the server. if u have 20 simulation connections (visitors) and for each of them 4images has to create different image sizes, u can imagine how long each of them has to wait untill it finished and start sending the pictures the them? Belive me, it's not worthit.
btw, if u do image resize in the admin control panel, how long it takes to resize one image from 1024x768 to 800x600 ? about 2 sec? or more?
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 bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« Reply #3 on: May 01, 2003, 09:29:31 PM »
Quote from: Chris
This should get you started:
http://4homepages.de/forum/viewtopic.php?t=1861


chris ...
i have been thru this and it is not what i need .. way to many options ... and also adds too much overhead to my host storage (limited !!)

i am not php literate !! .. can you modify this code so that it matches my requirements more closely?

thanx
bruce

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« Reply #4 on: May 01, 2003, 09:31:20 PM »
Quote from: V@no
Quote from: bgmurphy
i have been thru this thread ... for me it is overkill !!

if this is overkill for u, then what u r trying to do is deffenetly overkill for the server. if u have 20 simulation connections (visitors) and for each of them 4images has to create different image sizes, u can imagine how long each of them has to wait untill it finished and start sending the pictures the them? Belive me, it's not worthit.
btw, if u do image resize in the admin control panel, how long it takes to resize one image from 1024x768 to 800x600 ? about 2 sec? or more?


vano ..

all i want is one intermediate file size image ... so that the net result is thumbnail -> preview image-> master download image

i use fotostation to post temp web pages and it creates a thumb and then a preview image .. and then allows the user to d/l the full size to their computer ( this is the basis of my requirements) ...

all i need is the intermediate directory holding the preview image .. which is called by the detail page .. which then call the master image when selected for download


bruce

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
need intermediate preview image on detail page !!!
« Reply #5 on: May 01, 2003, 09:38:21 PM »
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 bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« Reply #6 on: May 01, 2003, 09:43:27 PM »
Quote from: V@no
then, how about this one?
http://4homepages.de/forum/viewtopic.php?t=3236


thanx vano -- its closer .... but !!!

it still does not create a smaller preview (that is what i need !!)

how hard is it to create a preview image mod - that reduces the original image ala my original post? ...

i will pm you my link with your log so you can see my prob

thanx
bruce

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
need intermediate preview image on detail page !!!
« Reply #7 on: May 01, 2003, 10:07:36 PM »
Quote from: bgmurphy
it still does not create a smaller preview (that is what i need !!)

well, that's actualy exactly what my mod does:
it show u the preview image, and when u click on it, it opens the original image.
also, there is another mod, that resize images to smaller size when u upload them, not sure if I posted addon, but at my site I use both of those mods, so when u upload an image, it first copy original image into /big/ folder then resize it and place it as "preview" image.
also, it's not a problem to make all this do from admin control panel - just upload your images though FTP your images (u can find the tutorial how to do that in the FAQ forum), then resize them, it will copy all original images into /cat_id/big/ folder, so, basicaly it's all automaticaly could be done.
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 bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« Reply #8 on: May 01, 2003, 10:17:23 PM »
Quote from: V@no
Quote from: bgmurphy
it still does not create a smaller preview (that is what i need !!)

well, that's actualy exactly what my mod does:
it show u the preview image, and when u click on it, it opens the original image.
also, there is another mod, that resize images to smaller size when u upload them, not sure if I posted addon, but at my site I use both of those mods, so when u upload an image, it first copy original image into /big/ folder then resize it and place it as "preview" image.
also, it's not a problem to make all this do from admin control panel - just upload your images though FTP your images (u can find the tutorial how to do that in the FAQ forum), then resize them, it will copy all original images into /cat_id/big/ folder, so, basicaly it's all automaticaly could be done.


i'll check it out ...

 :roll:

looked it over ... and it may work .. i need to play with the resizing of the image (smaller) ... was wondering where the code was for resizing the image ..... you have set it for roughly 1/2 the original .. i'd like to make it 1/5 -  1/6 the original ..

thanx
bruce

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
need intermediate preview image on detail page !!!
« Reply #9 on: May 01, 2003, 11:04:27 PM »
actualy it uses fixed sizes, but it's easy could be changed to 1/2 of original.
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 bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
need intermediate preview image on detail page !!!
« Reply #10 on: May 01, 2003, 11:10:05 PM »
Quote from: V@no
actualy it uses fixed sizes, but it's easy could be changed to 1/2 of original.


vano -

where is the coding so that i can adjust it to 1/5 or 1/6 the original??
searched thru the routine and could no find the call !!

also .. reading thru the original post for the mod .. there were lots of pieces that got cleaned up .. do you have a final version avail?

 :lol:

bruce

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #11 on: October 09, 2007, 05:34:31 PM »
The above mentioned links are down.  Can someone tell me where they were moved to?

Intermediate images are good, if you are using them to post to forums via hotlinks..  The thumb is usually too small, and depending on your settings, the actual image way too big for lets say myspace.  A smaller intermediate would work better for forum postings, etc.. 


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #12 on: October 09, 2007, 05:53:18 PM »
... here are some links ...
... http://www.4homepages.de/forum/index.php?topic=17870.msg95203#msg95203 ...
... and here are the right links from above, the links from V@no and Chris ...
... http://www.4homepages.de/forum/index.php?topic=1861 ...
... http://www.4homepages.de/forum/index.php?topic=3236 ...
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 KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: need intermediate preview image on detail page !!!
« Reply #13 on: October 09, 2007, 05:59:18 PM »
Hi,

and phpthumb is also a easy way to generate smaller/ differents image sizes. (with option of a watermark)

Kurt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: need intermediate preview image on detail page !!!
« Reply #14 on: October 10, 2007, 05:58:45 AM »
Hi,

yes...

Here a gallery, where i added phpthumb:
http://www.biker-click.de/index.php (with Copyright r. license)

All images was generated new in the first view and saved in a new folder.


Here the phpthumb Page with download , previews and download:
http://phpthumb.sourceforge.net/#download

Here the code for the media/jpg.html:
Code: [Select]
<img src="./phpthumb/phpThumb.php?src={media_src}&w=800&h=600" border="0" alt="{image_name}" />
Size is here: 800x600


Kurt