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

Author Topic: [MOD] Photo Preview Hack  (Read 218183 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, 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 #61 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 #62 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 #63 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 #64 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 #65 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 #66 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 #67 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 #68 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 #69 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 #70 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 #71 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 #72 on: August 06, 2009, 01:25:38 PM »
...Any ideas?
no...
is irrelevant because you have a top secret web site  :)

mfg Andi

Rembrandt

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #73 on: August 09, 2009, 09:32:47 AM »
Hi!

da öfter danach gefragt wurde wie man die bilderanzahl erhöhen kann, hier ein kleiner code update.
 damit ist es möglich ganz einfach die gewünschte anzahl der vorschaubilder einzustellen.

search:

if($lastPage 6){
    
$start 0;
    
$end $lastPage -1;
} elseif (
$act_key == || $act_key == 1){
    
$start 0;
    
$end   4;
} elseif (
$act_key == $lastPage-|| $act_key == $lastPage -2){
    
$start $lastPage 5;
    
$end $lastPage 1;
} else {
    
$start $act_key -2;
    
$end   $act_key +2;
}

and replace with:


$total 
"7";  // always an odd number e.g. 5,7,9,11... e.t.c

if($lastPage < ($total 1)){ 
    
$start 0;
    
$end $lastPage -1;
} elseif (
$act_key <= (($total-1)/-1)){
    
$start 0;
    
$end   = ($total 1);
} elseif (
$act_key >= $lastPage - (($total-1)/2)){
    
$start $lastPage $total;
    
$end $lastPage 1;
} else {
    
$start $act_key - ($total-1)/2;
    
$end   $act_key + ($total-1)/2;
}


mfg Andi

rinaldos

  • Guest
Re: [MOD] Photo Preview Hack
« Reply #74 on: August 10, 2009, 12:19:52 PM »
@rembrandt.
Danke für diese nette Erweiterung des MOD's :-) klappt einwandfrei :-)

LG
Ingo