SlideshowII MOD for 4images - Image Gallery Management System.
Version: 1.3
Date: 2004-07-11
Author: Daniel Janesch <admin@the-deejay.com> http://www.the-deejay.com
Description:
This MOD shows all pictures of one Gallery as an slideshow. You can choos between three direction (ascending, descending or coincidentally).
The pictures could also changed manually and the time who long a picture is shown could also be changed.
Also you can use crossfade effects for visitors with internet explorer.
For a live-demo you can visit http://www.the-deejay.com.
New in v1.3 - 2004-07-11
Now it is possible to turn on/off the message after all pictures are shown in the controll panel.
Also the slideshow could be opend in new a full size window.
The javascript error is now catched for Opera browsers.
v1.2 - 2004-06-13
Now you can choose if the slideshow should open in a new window or not in the control panel.
Additional you can choose if you open the details or not when the visitor clicks on an image.
And you can set the maximum size (height, width) of the pictures in the slideshow.
v1.1 - 2004-06-04
All script parts which have to be copied into existing files are now in new files and
only a reference to the file is inserted in the existing file.
Now all single quotes (') have been replaced by double quotes (").
Also the slideshow button is available as simple text link {slideshow_link} .
v1.0 - 2004-05-27
The release of the slideshow mod II.
Installation Level: Easy
Installation Time: 10 Minutes
Files To Edit: 9
/4images/templates/default/categories.html
/4images/scripts/4images.js (if not available /4images/templates/default/header.html)
/4images/templates/default/header.html
/4images/categories.php
/4images/admin/index.php
/4images/lang/english/admin.php
/4images/lang/english/main.php
/4images/lang/deutsch/admin.php
/4images/lang/deutsch/main.php
.head1 {
background-color: #004C75;
color: #ffffff;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}
<table width="700" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="6"><img src="{template_url}/images/header_detail_left.gif" width="6" height="19" alt="" /></td>
<td width="684" align="center" class="head1">
<b>{first_pic_link}<b>
<b>{prev_pic_link}<b>
{current_image_of}
<b>{next_pic_link}<b>
<b>{last_pic_link}<b>
</td>
<td width="6"><img src="{template_url}/images/header_detail_right.gif" width="6" height="19" alt=""/></td>
</tr>
<tr><td><img src="{template_url}/images/spacer.gif" width="1" height="5" alt="" /></td></tr>
<tr>
<td colspan="3" align="center" class="head1">
{order_list}
{stop_play_button}
{interval_list}
</td>
</tr>
</table>
http://www.your_site_name/4images/slideshow.php?action=slideshow&cat_id=XXchoose a category you can access but where you should not see pics and... :twisted: :twisted: :twisted: Some people will say that nothing is hidden from the eyes of the Lord !!!
if (!$cat_id || !isset($cat_cache[$cat_id]) || !check_permission("auth_viewcat", $cat_id)) {
replace by : if (!$cat_id || !isset($cat_cache[$cat_id]) || !check_permission("auth_viewcat", $cat_id) || !check_permission("auth_viewimage", $cat_id)) {
what does it mean "ascending, descending"?
by date?
by name?
I cant fugure out, in which order the pictures are shown.
i get this error for some reason :?:
(http://www.thatnite.com/images/error.jpg)
Using firefox nothing happens at all, using IE the page loads with an error, which is the above message.
would be greatful for any suggestions
http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b
taking the url section from the properties of the slideshow button and adding the rest of the site link to it seems to work:
From properties of button:
./slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b
Modded to:
http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b
<!--
--- START ---
--- Right Mouse Click -------------------------------
http://www.4homepages.de/forum/index.php?topic=3088.0
//-----------------------------------------------------
//<!--
//--- START ---
//--- Right Mouse Click -------------------------------
//http://www.4homepages.de/forum/index.php?topic=3088.0//-----------------------------------------------------
PN von Deejay
also mit <!-- --> komentiert man HTML-Text aus.
in deinem fall wird dieses auskommentieren dafür verwendet den html-text, also das javascript, vor älteren browsern auszukommentieren.
mehr sinn hat dies nicht.
im javascript musst du aber wie schon erwähnt mit // (zeilenwiese) bzw. /* */ (blockweise) auskommentieren.
lg deejay_
{header}
and remove it{footer}
and also remove it<script language="JavaScript" type="text/javascript">
and</script>
To do this you have to change a little bit of the code.at which place must the change be made?
Question:
After I click on "Diashow" a new window opens and displays the first image of the respective category. However, the Diashow doesn't start and both dropdown menus remain empty. I also get the following error messages:
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\4images\slideshow.php on line 259
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\4images\slideshow.php on line 270
Could anyone please help me?!
Thanks a lot in advance!
JJBK
My specs:
- 4images V 1.7.1
- PHP: 5.0.5
- Apache 2.0.54
- MySQL 4.1.14
i get this error for some reason :?:
(http://www.thatnite.com/images/error.jpg)
Using firefox nothing happens at all, using IE the page loads with an error, which is the above message.
would be greatful for any suggestions
OPEN /4images/scripts/4images.js (if not available /4images/templates/default/header.html)
END ADD
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
if (new_window == 2 || new_window == 1) {
var width_avail = screen.availWidth-15;
var height_avail = screen.availHeight-60;
var width_full = screen.width;
var height_full = screen.height;
// Callculate the spaces from left and top to center the new window:
var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
if (new_window == 2) {
window_width = width_avail;
window_height = height_avail;
left_space = 0;
top_space = 0;
url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
} // if complete picture (whole window)
slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
} // if new_window
else {
window.location.href=url;
} // else new_window
} // openslideshow
Line:1
Char:2
Code:0
Error:'theimage[...].2' is empty or its not object
URL:http://say10.pl/slideshow.php?action=slideshow&cat_id=52&maw=1168&mah=742&msw=1280&msh=1024
das sollte ja in der header.html stehen oder nicht?
hab ich aber gelöcht wie in der Anleitung beschrieben.
das ist meine header.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<script language="javascript" type="text/javascript">
<!--
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
alert("© Copyright by {site_name}");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
alert("© Copyright by {site_name}");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#FFFFFF" text="#27D000" link="#156502" vlink="#156502" alink="#156502">
Line: 1
Char: 1
Error: Object expected
Code: 0
URL: http://veteranbrannbiler.com/4images/categories.php?cat_id=2
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 74
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 82
Warning: imagejpeg(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 93
Warning: imagedestroy(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 95
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 74
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 82
Warning: imagejpeg(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 93
Warning: imagedestroy(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 95
Ich habe die Daishow installiert und bin begeisert!!
Leider läuft sie bei mir, wie auch oft zuvor beschrieben, nur als angemeldeter Admin.
Ich habe auch schon die paging.php erneuert - bringt allerdings nichts.
Kann es daran liegen, dass ich das Template
4default_no_user http://www.vierstra.com/4images_templates.htm installiert habe.
Ich muss gestehen, dass ich auch schon einiges abgeändert habe.
Vielleicht hift ja auch ein Blick auf meine Gallery: http://dowo.dyndns.org/bild/
Vielen Dank im voraus
Dieter
Anscheinend ist 4images 1.7.4 schon php 5.x-tauglich. :?:
<script language="JavaScript" type="text/javascript">
</script>
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
<script language="javascript" type="text/javascript">
<!--
var captcha_reload_count = 0;
var captcha_image_url = "{url_captcha_image}";
function new_captcha_image() {
if (captcha_image_url.indexOf('?') == -1) {
document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
} else {
document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
}
document.getElementById('captcha_input').value="";
document.getElementById('captcha_input').focus();
captcha_reload_count++;
}
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}
function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert("© Copyright by {site_name}");
return false;
}
else if (event.button == 2 || event.button == 3) {
alert("© Copyright by {site_name}");
return false;
}
return true;
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}
document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
if (new_window == 2 || new_window == 1) {
var width_avail = screen.availWidth-15;
var height_avail = screen.availHeight-60;
var width_full = screen.width;
var height_full = screen.height;
// Callculate the spaces from left and top to center the new window:
var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
if (new_window == 2) {
window_width = width_avail;
window_height = height_avail;
left_space = 0;
top_space = 0;
url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
} // if complete picture (whole window)
slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
} // if new_window
else {
window.location.href=url;
} // else new_window
} // openslideshow
// -->
</script>
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
</head>
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
<br />
<script language="JavaScript">
<!--
function FullScreen()
{
window.open("http://www.myaddress.com","","fullscreen=yes");
}
function KH_JS(js) {
return eval(js)
}
// -->
</script>
<font class="stn"><a href="#" onClick="KH_JS('FullScreen()')">Diashow</a>
SUCHEN
$upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";
}
DANNACH EINFÜGEN
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
require ("categories_slideshowII.inc");
In my categories.php was "require ("categories_slideshowII.inc");" already in front of "}" but it works nevertheless not...
My problem is that ONLY GUESTS can not see the button, normal users can see it.
//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
if (!check_permission("auth_upload", $cat_id)) {
$upload_url = "";
$upload_button = "<img src=\"".get_gallery_image("upload_off.gif")."\" border=\"0\" alt=\"\" />";
}
else {
$upload_url = $site_sess->url(ROOT_PATH."member.php?action=uploadform&".URL_CAT_ID."=".$cat_id);
$upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";
}
require ("categories_slideshowII.inc");
@ELO:Hi deejay,
Yes, it is possible to run a Slideshow over all Categories!
Why do you want to include the slideshow in searchresults?
best regards deejay_
Hallo
Zuerst ein Lob für alle Mod programmierer!
Ich habe diesen Mod installiert und leider funktioniert dieser bei mir nicht.
Mein Problem ist folgendes:
Wenn ich auf den Button "Diashow" klicke, dann öffnet sich ein neues Fenster und der Fehler 500 "Internal Server Error" erscheint.
Ich habe den Mod (wie in der Anleitung beschrieben) installiert. Was könnte hier das Problem sein? Ich komme überhaupt nicht mehr weiter.
Habe die neuste Vers 1.7.4 (SAFE MODE ausgeschaltet). Im Admin Control Panel kann ich alle Diashow Einstellungen erfolgreich verändern.
Vielen Dank für die Hilfe...
mfg shadow_hunter
Don't run ? help me www.emtoi.org/gallery
Hello,
I am still searching a solution to make a slideshow to the search results.
Any Ideas how to make it possible?
Greetings
Michael
@ELO:Hi deejay,
Yes, it is possible to run a Slideshow over all Categories!
Why do you want to include the slideshow in searchresults?
best regards deejay_
How can i do that?
In our Galerie the cars are sorted by Categories of Manufacturer, but I have also put infos about carmeetings to the pictures
If I search for example "Golden Oldies" it would be fine to make a slideshow from the results
Sorry, bad english, but school is over for more than 20 years :wink:
Greetings
Michael
... Diashow nur für registrierte User ... :roll:
hallo,
du verstehst wohl den Sinn von des Postings nicht 8O
Testaccount bereitstellen oder eine oder alle Cats freischalten
Kurt
Please Help
i have installed the mod and all works fine
when i push the "diashow" button, a new window opens with the first pic of the categorie
but there are no navigating buttons
and the show did not start
please help
greetings
knighthawk - www.omega-sector.de
Wie ich das jetzt noch in eine Tabelle als Hintergrundbild einbinde werd ich noch probieren, aber mit der Lösung könnte ich sogar schon leben.
An unexpected error occured. Please try again later.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/kunden/grizzlyfans-online.de/bildergalerie/includes/db_mysql.php on line 116
Can anyone help me with this problem here:This is a general mysql 5 issue. A solution for your 4images you will find here:
http://www.4homepages.de/forum/index.php?topic=19133
."FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c "
and replace with (in line 72) ."FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c ")
Is it possible to count the hits of an image if it's opened in the slideshow?sorry. but same answer as I gave at http://www.4homepages.de/forum/index.php?topic=7257.msg94547#msg94547.
Right now the slide show option is only available if you log in. Is there a way to make it so anyone can do the slideshow without having to be a registered user and log in?Please send me a link to your gallery, so I could take a look myself. I think it is a problem with the including of the java scripts required for showing the slideshow.
Is the slideshow not compatible with MySQL5? Is there anything I could change for reparing it?This is a general mysql 5 issue.
Since I´ve had problems to update the script to Version 1.3 (database errors) and your suggested changings didn´t work too, I decided to uninstall the complete mod and look for another slideshow.
Surely there could be problems easily solved, but I don´t have time for that. I need a running slideshow, my users were really pi..ed off
Does slideshow 2 version 1.3 work in 4images 1.1.4 (latest)
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/lang/english/main.php:392) in /var/www/html/gallery/includes/sessions.php on line 101
."FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c "
."FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c ")
."FROM (."IMAGES_TABLE." i, ".CATEGORIES_TABLE." c)"
$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 i.cat_id = $cat_id AND c.cat_id = i.cat_id
ORDER BY i.image_name ASC";
Will the number of "Hits" be increased when people view photos in the slideshow?No. There is allready an request for this but I have not very much time to do this sorry :-)
Besides, does anyone know where I could see the demo?The Demo isn't available anymore because I'm switched from 4images to pony gallery (http://www.joomgallery.net/demo-ponygallery/).
I checked http://www.the-deejay.com/ , but couldn't find live demo there.
No. There is allready an request for this but I have not very much time to do this sorry :-)It' okay. Thanks for your reply and providing such a good MOD.
The Demo isn't available anymore because I'm switched from 4images to pony gallery (http://www.joomgallery.net/demo-ponygallery/).
best regards deejay_
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
if (new_window == 2 || new_window == 1) {
var width_avail = screen.availWidth-15;
var height_avail = screen.availHeight-60;
var width_full = screen.width;
var height_full = screen.height;
// Callculate the spaces from left and top to center the new window:
var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
if (new_window == 2) {
window_width = width_avail;
window_height = height_avail;
left_space = 0;
top_space = 0;
url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
} // if complete picture (whole window)
slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
} // if new_window
else {
window.location.href=url;
} // else new_window
} // openslideshow
when i try 2nd way ( when not avaible 4images.js )Bu kodlar header.html ye deðil 4images.js e ye koyulmalý... header.htlml için 3:/templates/temanýz/header.html de bu kodu bulalým
when i put that code >> /templates/default/header.html)
i see that code on my web page head ! what is problem ??Code: [Select]//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
if (new_window == 2 || new_window == 1) {
var width_avail = screen.availWidth-15;
var height_avail = screen.availHeight-60;
var width_full = screen.width;
var height_full = screen.height;
// Callculate the spaces from left and top to center the new window:
var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
if (new_window == 2) {
window_width = width_avail;
window_height = height_avail;
left_space = 0;
top_space = 0;
url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
} // if complete picture (whole window)
slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
} // if new_window
else {
window.location.href=url;
} // else new_window
} // openslideshow
<link rel="stylesheet" href="{template_url}/style.css" />
altýna bunu ekleyin:<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}
this line in the querywhere do we change this code ?? on slideshow.php ?? or where
FROM 4images_images i, 4images_categories c
should be like this
FROM (4images_images i, 4images_categories c)
it's a mysql5 related problem,
there also some threads about this issue.
:arrow:
or completly this:Code: [Select]$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 i.cat_id = $cat_id AND c.cat_id = i.cat_id
ORDER BY i.image_name ASC";
Gibt es das Zip-File noch irgendwo zum Download? Danke!Hatte Probleme mit meinem alten CMS.
...bitteschön.
...Ich habe zum Beispiel die 4images.js nicht und kann daher nicht auf diese verlinken.
hallo @all,Bitte um link zur Galerie!
ich habe 4 images 1.7.6 und alles so gemacht wie im mod von deejay beschrieben, der button diashow ist da, aber leider ohne funktion...... und seither funktioniert auch die leuchtkasten ansicht nicht mehr.
weiß jemad was zu tun ist um das prob zu lösen??? :roll:
thx schon mal
liberty
Na klar, sorry hab ich vergessen :oops:Ok. Dein Problem ist das du vor und nach meinen JavaScripts keine SCRIPT definition hast.
www.sfct.de/4images
liberty
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
<script language="javascript" type="text/javascript">
<!--
} // openslideshow
// -->
</script>
Na klar, sorry hab ich vergessen :oops:Ok. Dein Problem ist das du vor und nach meinen JavaScripts keine SCRIPT definition hast.
www.sfct.de/4images
liberty
Am einfachsten vorCode: [Select]//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
folgendes einfügen:Code: [Select]<script language="javascript" type="text/javascript">
<!--
und nachCode: [Select]} // openslideshow
folgendes einfügenCode: [Select]// -->
</script>
Dann sollte alles wie gewünscht funktionieren :-)
lg deejay_
DB Error: Bad SQL Query: 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, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id = 7 AND c.cat_id = i.cat_id ORDER BY i.image_name ASC
Unknown column 'i.user_id' in 'on clause'
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/web6/40/94/51350594/htdocs/includes/db_mysql.php on line 116
erscheint.... Habe die neuste Vers 1.7.4 ...
und die Anleitung ist leider auf Englisch http://www.4homepages.de/forum/index.php?topic=22668.msg123709#msg123709
$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 i.cat_id = $cat_id AND c.cat_id = i.cat_id
ORDER BY i.image_name ASC";
Hallo!
Ich habe Version 1.7.11 und es will nicht so richtig laufen, Button ist da, nur läuft nix :(
http://fotoalbum.berrsch.de/categories.php?cat_id=173
} // openslideshow
<!--
}
function right(e) {
ersetzen mit} // openslideshow
<!--
function right(e) {