• [MOD] Photo Preview Hack 5 0 5 1
Currently:  

Author Topic: [MOD] Photo Preview Hack  (Read 232613 times)

0 Members and 1 Guest are viewing this topic.

Offline fermachado

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #75 on: September 25, 2009, 12:29:50 PM »
Hi,

I have a problem with my details.php.

If try with a fresh copy of details.php works fine,but with my file of details.php just show a little square.I attach a image to show the problem.

My details.php

REMOVED
« Last Edit: September 25, 2009, 04:06:39 PM by V@no »
www.globalfoto.net

Sintra - Portugal

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
Re: [MOD] Photo Preview Hack
« Reply #76 on: September 25, 2009, 04:08:01 PM »
please attach your details.php to the post. this forum has a limit of allowed post length, posting entire file as text will not fit into that limit.

P.S.
attach two versions of your details.php:  with AND without the modification from this mod.
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 fermachado

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #77 on: September 25, 2009, 04:24:40 PM »
Thanks Vano,

I put the two files in attach.

The detailsclean.php is a fresh copy of deyails.php only have this mod

The details.php is the file I use inmy site and have more changes with others mod's.

Thanks
www.globalfoto.net

Sintra - Portugal

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
Re: [MOD] Photo Preview Hack
« Reply #78 on: September 25, 2009, 04:38:16 PM »
Ok, I've updated a little the installation instructions, now you'll need find different string in details.php,
It should work now with any mods
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 fermachado

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #79 on: September 25, 2009, 07:21:09 PM »
Thanks lot Vano,


I tried in my PC (localhost) and works very nice.Later make this changes in the site I have online.

Thanks for your work
www.globalfoto.net

Sintra - Portugal

Offline apaunganhote

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #80 on: October 16, 2009, 11:04:59 AM »
I just installed it.

I don't know why it doesn't show Previous and Next Image anymore even I still have code in details.html. My previous and next code is like this

Code: [Select]
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td class="row2">{if prev_image_name}{lang_prev_image} <b><a href="{prev_image_url}">{prev_image_name}</a></b>
 <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>
{endif prev_image_name}</td>
<td align="right" class="row2">{if next_image_name}{lang_next_image} <b><a href="{next_image_url}">{next_image_name}</a></b>
 <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>
{endif next_image_name}</td>
</tr>
</table>

And another one thing i didn't clear is,

It's showing latest image for that category or Latest pic + Oldest Pic ?

Please kindly help me out.

Thanks.

With Regards,

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #81 on: October 16, 2009, 12:28:50 PM »
Hi!
...
And another one thing i didn't clear is,

It's showing latest image for that category or Latest pic + Oldest Pic ?....
look at my detail page, the horizontal images, is the hack.

mfg Andi

Offline apaunganhote

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #82 on: October 16, 2009, 05:43:19 PM »
Hi!
...
And another one thing i didn't clear is,

It's showing latest image for that category or Latest pic + Oldest Pic ?....
look at my detail page, the horizontal images, is the hack.

mfg Andi

Oops yeap, I got it.

I really like your site. Can i ask you one thing about EXIF info ? Is that mod ? The default EXIF info is not too much detail like that one right ? If that's mod, can you please kindly point me out where can i find it ?

And my one still cannot have Previous and Next button even there's code in the details page. Any idea please ?

Thank you.

With Regards,

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #83 on: October 16, 2009, 07:26:22 PM »
... about EXIF info ? Is that mod ? The default EXIF info is not too much detail like that one right ? If that's mod, can you please kindly point me out where can i find it ?...

http://www.4homepages.de/forum/index.php?topic=21017.msg114214#msg114214

mfg Andi

Offline blastarhymes

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #84 on: October 22, 2009, 01:52:38 PM »
awsome, thansk for this...will put it too good use:)
BBC Code: Clone Cash System

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Photo Preview Hack
« Reply #85 on: December 10, 2009, 10:23:12 PM »
Thank you for the great mod.

One question: what do I need to change to show the thumbnails aligned vertical:
Thumb1
Thumb2
Thumb3...

instead of  Thumb1 Thumb2 Thumb3

Thanks

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #86 on: December 11, 2009, 05:19:22 AM »
Hi!
..
One question: what do I need to change to show the thumbnails aligned vertical:...
http://www.4homepages.de/forum/index.php?topic=7294.msg138957#msg138957

mfg Andi

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Photo Preview Hack
« Reply #87 on: December 11, 2009, 08:24:52 PM »
Thanks Rembrandt

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #88 on: February 25, 2010, 10:07:49 AM »
...
Thanks i like this one :D bro can we also add previous image next image on both side :D by any chance ?
in details.html:
Code: [Select]
{if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
<br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>
{endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2">
&nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
<br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>
{endif next_image_name}</td>

mfg Andi

Using 4images 1.7.7:

Got the Photo preview hack working. At first, it seemed to be perfect but now with 7 images in the category, only 5 are appearing in the preview. The 5 in preview are only the first 5 images.  Two new uploads are not appearing in the preview screen, even after I click on them in the detail page, the preview shows the first 5 only. 

Also, and perhaps related, the image previous and image next is not working. Am using the code listed above, for both the top and bottom of the details page.

What do I see? A blank grey table but no images or even links, just a wide bar.

Any ideas on how to resolve this?

Thanks,

Brian

[edit] - issue resolved.  see note here: an update for 1.7.7?

able to resolve issue; on a hunch, decided to try V@NO's advice in this post:
http://www.4homepages.de/forum/index.php?topic=7294.msg133435#msg133435

moved the photo preview hack code for details.php to the location specified by V@NO and badda bing, it worked.

not sure if this is good advice for ALL 1.7.7 users, but that was able to resolve the display of the links and show prev/next images;  also, this fixed the photo preview hack that was only showing the first 5 images even after you clicked on the 6th or 7th image.

- Brian
« Last Edit: February 25, 2010, 11:12:45 AM by surferboy »

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
The Rise of the Evil Eye
« Reply #89 on: February 27, 2010, 10:00:49 PM »
Hi -

Using v1.7.7

The Photo Preview Hack MOD is working great. I uploaded an image to our gallery that measured 2592 x 1944.

I have installed the auto image resize MOD.  Settings on the control panel: width: 818 - height: 1024

Checked the pic after upload for the correct size by using the MeasureIt tool for Firefox.  Photo measures 818 wide.

The problem: click on the home page, then click on 'New Images.'  Look for the new image in the table, and click on it. The result is the image attached:

the Evil Eye appears in the photo preview panel above to the current photo.

Does this issue appear if I go to the home page and then click on the same new image? No. It shows one photo in the photo preview panel, in yellow (my css mod there).

Conclusion: the overlapping of categories in the 'search' feature causes the evil eye to appear in the photo preview panel.  I tried clicking on other images  in the 'New Images' search page, and the same thing happened, more rise of the Evil Eye.

Any ideas what could be causing this?

Thanks,

Brian