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

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

0 Members and 1 Guest are viewing this topic.

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #90 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 #91 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

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #92 on: February 28, 2010, 12:33:07 PM »
super sache, dieser MOD!!!

ist es auch möglich, dass man die preview bilder auf Basis der GPS-Infos (basierend auf dem [MOD] Google Map) ausgegeben bekommt?
sprich es werden als preview bilder die bilder angezeigt, die am nähesten vom angezeigten Bild liegen?

gruss, bergblume

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #93 on: February 28, 2010, 07:32:59 PM »
Quote
super sache, this MOD!

It is also possible that you get the preview images on the basis of the GPS information (based on the output [MOD] Google Map)?
speak it as a preview images are displayed images that are closest to the displayed image?

gruss, mountain flower

I suppose but I don't have the Google Map MOD enabled

- Brian

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #94 on: May 16, 2010, 11:53:03 AM »
Hi,

[MOD] Photo Preview Hack ....

Thanks ! :)




fullquote removed @Rembrandt
« Last Edit: May 16, 2010, 11:59:49 AM by Rembrandt »

Offline ilaslan

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #95 on: August 18, 2010, 09:51:19 PM »
hello . iam new 4images.
 i love this mod hacks. i am using 1.7.8 .
But when i use this mod hack  next_image_url is always null = and next , previeus link is not working ( and click main image go to next images ).  Some friends has said this problem but i dont see any solve. only surferboy said that
Quote


[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

on http://www.4homepages.de/forum/index.php?topic=7294.msg145881#msg145881

but i didnt understand solve

vano says :

Quote
In your particular case you'll need insert that code below
   
Code: [Select]
unset($next_prev_cache);
edit : this hack codes must insert below unset($next_prev_cache);  No problem

Regards
« Last Edit: August 18, 2010, 10:04:16 PM by ilaslan »

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #96 on: August 26, 2010, 09:46:35 PM »
what does this MOD do, links on demos are dead

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #97 on: August 27, 2010, 05:43:08 AM »
what does this MOD do, links on demos are dead

Demo

the image row above the line  "Wetter Information vom Aufnahmeort"

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #98 on: August 27, 2010, 04:15:21 PM »
@Remembrant

On step 3 it says find ?> in the styl.css, but there is no ?> inside of css because its not php.

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #99 on: August 27, 2010, 05:58:52 PM »
@Remembrant

On step 3 it says find ?> in the styl.css, but there is no ?> inside of css because its not php.
paste it wherever you want in the style.css

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #100 on: September 08, 2010, 06:03:23 PM »
@remambrant

this mod only shows the first 5 images and thats it? when i click next next next next next then inside the page the image changes but the previous hack does not. It is still on the first 5 images. Is there a way that after the 5 image a new set of 5 images appear?? please  :mrgreen: thank you

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #101 on: September 08, 2010, 06:37:47 PM »
@remambrant
^
this is not a member from 4images forum, but perhaps I can help you...  :roll:

Quote
this mod only shows the first 5 images and thats it? ..
you mean, your mod  :mrgreen:

post your code from details.php and the code from the details.html

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #102 on: September 08, 2010, 09:53:56 PM »
Remembrant

Please forgive me. Of course i know you arent a 4images member  :lol: :lol: :lol:... Number 1 the reason is because only administrators like yourself make the coolest MODS which i have integrated from the likes of yours and mewazni and of course vano. Also and this is the easiest. Another reason how i know your arent a 4images member, is because if you had created this modification yourself, im 100% sure i would not have had any problems regarding its implemention.  :mrgreen:

 
********
Update, http://www.4homepages.de/forum/index.php?topic=7294.msg145881#msg145881 this is exactly the problem i am facing and it actually worked. Im so so so sory for wasting your time remembrant, but i  will next time read first ask later hehehe  :mrgreen:

Update number 2 lol ***

I actually do had 1 small request. Is there any way to make the dimensions of the thumbnails to be all the sme even the thumbnails of movies and thumbnails of media sites aand mp3. all have 1 demension and also i want to remove the name of the image i just want the image to appear thats all. I hope u can help me on this one  :mrgreen:
« Last Edit: September 08, 2010, 10:06:21 PM by zakaria666 »

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: [MOD] Photo Preview Hack
« Reply #103 on: September 09, 2010, 01:08:26 AM »
:offtopic:
one word: dyslexia

Having some symptoms myself I tend to copy/paste people's names rather then typing them and get into situation like this one...
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 zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #104 on: September 09, 2010, 02:59:12 AM »
 :( :( :( :(

@ Rembrandt not remembrant

Please forgive me. I sincerely apologize. Upon you telling me that remembrant was not a member here i thought that you meant I was being disrespectful to you by talking to you as a member and not as a respected administrator/moderator. It was only after i realized what you had meant by this comment. I sincerely apologize and please forgive me. It will not happen again. I hope you are not angry or upset with me  :(.

@Vano

I very much also sincerely apologize. I did not mean to be disrespectful what so ever.  :( I actually do have a mild form of dyslexia which i havent told anyone about. For some reason when im nervous or under pressure like standing up infront of the class and talking. The words just dont make sense and in very small occasions like when i said remembrant :cry:

I am really sorry guys. Please if I have annoyed you or any of your fellow workers i will discontinue use of this forum, you just have to say the word. I dont want to make anyone here angry. You guys have been there with support whenever ive needed it and if i have upset anyone please do say .

Im very soory again rembrandt and voano lol i mean vano  (whis) :)

 

Post your comments here