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

0 Members and 1 Guest are viewing this topic.

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #16 on: October 11, 2007, 08:21:21 PM »
Quote
What is your take on this, Thunderstrike?

My take is read the other author line on my signature.

Quote
- I no support other authors MOD for intergrate  :!:
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #17 on: October 11, 2007, 10:22:17 PM »
So, does anyone have a mod they found that automatically does this, ...

... yes ...
... but it seems, that my links are not from interest for you ... but this is my last hint ...
1. vers. : one image upload via ftp and 3 images are in your gallery (thumbnail, medium, original) by using checkimages in ACP ...
2. vers. : one image upload via uploadform in your gallery and 3 images are in your gallery (thumbnail, medium, original) ...
3. you can use 1.vers. and 2.vers. ... I do it ... and everyone can test it ...
4. you can show the large / original image in a extra window or use it for the download ...
5. and there are some more options ...
... end ...
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 skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #18 on: October 12, 2007, 08:27:57 AM »
So, does anyone have a mod they found that automatically does this, ...

... yes ...
... but it seems, that my links are not from interest for you ... but this is my last hint ...
1. vers. : one image upload via ftp and 3 images are in your gallery (thumbnail, medium, original) by using checkimages in ACP ...
2. vers. : one image upload via uploadform in your gallery and 3 images are in your gallery (thumbnail, medium, original) ...
3. you can use 1.vers. and 2.vers. ... I do it ... and everyone can test it ...
4. you can show the large / original image in a extra window or use it for the download ...
5. and there are some more options ...
... end ...


I understand what you are saying I think.  You use 2 mods to accomplish your task, correct?

I use a upload mod that you can allow original images saved in 'big' folder..  This might be the same thing..

How about this:  When the details page loads the image, search to see if the same named image is in the 'big' folder, if so,  allow a 'display large image' clickable link right below the details image?  If not, no link will be show below the image. How easy would that search be to set up?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #19 on: October 12, 2007, 11:06:58 AM »
How easy would that ...

... it is allready done ... so, it is easy ... ;)
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 skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #20 on: October 12, 2007, 03:54:41 PM »


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

what do I do with this code?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: need intermediate preview image on detail page !!!
« Reply #21 on: October 12, 2007, 03:58:56 PM »
in templates/default/media/jpg.html

replace the code with this...

Kurt

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #22 on: October 12, 2007, 04:49:52 PM »
in templates/default/media/jpg.html

replace the code with this...

Kurt

Trying to use phpthumbs, but no luck..

I have the  phpthumbs directory in the root and 4images running in root/4_images right now.. - I  edited the jpg.html file in my media directory for my template with:

 <img src="/4_images/phpthumb/phpThumb.php?src={media_src}&w=380" border="0" alt="{image_name}" />


I have thumbs, but no images are showing.  should the phpthumbs/ above be something like ../phpthumbs/ ??


I am getting this error:  "//4_images/phpThumb/./data/media/22/(anyfilename).jpg" does not exist.

If I remove the '/', it shows nothing, just a filename
« Last Edit: October 12, 2007, 06:34:19 PM by skidpics »

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: need intermediate preview image on detail page !!!
« Reply #23 on: October 12, 2007, 09:10:46 PM »
in templates/default/media/jpg.html

replace the code with this...

Kurt

Trying to use phpthumbs, but no luck..

I have the  phpthumbs directory in the root and 4images running in root/4_images right now.. - I  edited the jpg.html file in my media directory for my template with:

 <img src="/4_images/phpthumb/phpThumb.php?src={media_src}&w=380" border="0" alt="{image_name}" />


I have thumbs, but no images are showing.  should the phpthumbs/ above be something like ../phpthumbs/ ??


I am getting this error:  "//4_images/phpThumb/./data/media/22/(anyfilename).jpg" does not exist.

If I remove the '/', it shows nothing, just a filename

Got it running!  thanks!  Now, just need to figure out how to include the 'intermediate image' into my hotlink coding.

I fixed the issue like this:

From:  <img src="/4_images/phpthumb/phpThumb.php?src={media_src}&w=380" border="0" alt="{image_name}" />

to: <img src="phpThumb/phpThumb.php?src=.{media_src}&w=600" border="0" alt="{image_name}" />

I just added the . before {media_scr]