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

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

0 Members and 1 Guest are viewing this topic.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] Photo Preview Hack
« Reply #60 on: March 30, 2009, 09:48:30 AM »
Can you tell me is there a bennefit to making the code static? I have it working great and was woondering what the bennifits would be?

Thanks!
As long as I can finish my site before I die.

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 #61 on: March 30, 2009, 10:24:06 AM »
So later on "you" don't need to scratch your head in searching "where the hell is that <br /> came from?" ;)
All HTML code should be inside templates and not in .php files, it just makes easier for design customization.
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 AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] Photo Preview Hack
« Reply #62 on: March 30, 2009, 11:41:22 AM »
Cool. It works much better. You read my mind... the next question i had was how to change background color of cell... Excellent forward thinking. Better improved useability.


Thanks. A great mod made even better.
As long as I can finish my site before I die.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] Photo Preview Hack
« Reply #63 on: March 30, 2009, 11:43:31 AM »
how hard would it be to include the image preview thumbnails descriptions of each thumbnail in a nice jquery pop up window with rounded courners and adjustable font color?
As long as I can finish my site before I die.

Offline harinezumi

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #64 on: June 17, 2009, 03:52:52 PM »
hi! thanks for a nice mod!  :D
and how can I turn off image names below thumbs?

Offline jotabonfim

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #65 on: July 10, 2009, 10:20:26 PM »
this does not work!



Hi richtest,

in details.php
search:
Code: [Select]
    $t_template .= "<td align=\"center\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<td align=\"center\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";
replace with:
Code: [Select]
    $t_template .= "<td align=\"center\" valign=\"top\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<td align=\"center\" valign=\"top\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";


Kurt

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #66 on: July 21, 2009, 03:45:25 AM »
How to change the count e.g. to only 4 images?

Offline jotabonfim

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #67 on: July 21, 2009, 05:16:54 PM »
Help please!!


this does not work!



Hi richtest,

in details.php
search:
Code: [Select]
    $t_template .= "<td align=\"center\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<td align=\"center\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";
replace with:
Code: [Select]
    $t_template .= "<td align=\"center\" valign=\"top\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<td align=\"center\" valign=\"top\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";


Kurt

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #68 on: July 21, 2009, 05:32:28 PM »
Help please!!...

Quote
$t_template .= "<tr align=\"center\" valign=\"top\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<tr align=\"center\" valign=\"top\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";

test

mfg Andi

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #69 on: July 26, 2009, 06:19:14 PM »
:flag-en:
For standard I've chosen a pic (#7), if a category will build. But I'd
like to have a new "hack": If somebody has uploaded a picture and
cat_image in the uploaded category is the standard pic (in my case
"7"), it will choose the new uploaded picture. Is this possible?

:flag-de:
Standardmäßig ist es bei mir nicht "0", sondern "7" als Kategoriebild.
Nun möchte ich eine Ergänzung haben: Wenn ich oder ein User ein
Foto hochlädt und in der zu hochladenden Kategorie cat_image = 7
ist, dann soll das neue Bild die neue cat_image sein. Ginge das irgendwie?

rinaldos

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #70 on: July 29, 2009, 02:25:40 PM »
:flag-de:
Standardmäßig ist es bei mir nicht "0", sondern "7" als Kategoriebild.
Nun möchte ich eine Ergänzung haben: Wenn ich oder ein User ein
Foto hochlädt und in der zu hochladenden Kategorie cat_image = 7
ist, dann soll das neue Bild die neue cat_image sein. Ginge das irgendwie?

Hi,
das ist aber nicht dieser MOD. Dieser MOD zeigt die eine Anzahl kleiner Thumbnails auf der Detailansicht.... Gruß
Denke hier bist du besser aufgehoben ....
http://www.4homepages.de/forum/index.php?topic=6922.0

Ingo

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #71 on: July 29, 2009, 10:04:10 PM »
Hi,
das ist aber nicht dieser MOD. Dieser MOD zeigt die eine Anzahl kleiner Thumbnails auf der Detailansicht.... Gruß
Denke hier bist du besser aufgehoben ....
http://www.4homepages.de/forum/index.php?topic=6922.0
Ingo

My brain is only air  :lol: Du hast absolut Recht. Danke!

Offline jotabonfim

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #72 on: August 03, 2009, 04:12:20 PM »
Tank you Rembrandt!!!!! :P :P :P





Help please!!...

Quote
$t_template .= "<tr align=\"center\" valign=\"top\" style=\"border: 1px solid #004C75; background: #F1F1F1; padding: .1cm\">\n";
    } else {
    $t_template .= "<tr align=\"center\" valign=\"top\" style=\"border: 1px dashed #004C75; padding: .1cm\">\n";

test

mfg Andi

Offline leoseo

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Photo Preview Hack
« Reply #73 on: August 06, 2009, 12:00:06 PM »
I've got a problem that this mod doesn't show the thumbnails if the page is reached through search page, as in www.site.com/img123.search.htm
It works OK when browsed normally; as in www.site.com/img123.htm

Any ideas?

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #74 on: August 06, 2009, 01:25:38 PM »
...Any ideas?
no...
is irrelevant because you have a top secret web site  :)

mfg Andi

 

Post your comments here