Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #11  
Alt 19.05.08, 15:59
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Habe erlich gesagt null Ahnung was für ne Extension ich sonst nehmen könnte..
Ich benötige eben die Browsefunktion, also dass ich Vor und Zurück klicken kann. Und später soll der Endkunde seine Bilder selbst einpflegen können. Also nichts zu kompliziertes, was eignet sich denn da sonst?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #12  
Alt 19.05.08, 16:24
Benutzerbild von david
TYPO3 Forum Team
Moderator
 
Registriert seit: 17.07.06
Ort: München
Beiträge: 770
david eine Nachricht über Skype™ schicken

Also der Autor dieser Extension 'rgsmoothgallery' ist hier im Forum rege als Moderator tätig und die Extension habe ich selbst z.B. auf der Seite Home: Mutter Teresa Deutschland e.V. mehrfach im Einsatz.

Eine andere Erweiterung, die ebenfalls gut ist, ist kj_imagelightbox2, die Du über KJ: Imagelightbox v2 - typo3-tutorials.org bekommst. Diese ist ähnlich wie die erste, nur daß die Thumbs hier nebeneinander und nicht rotierend angezeigt werden, die Detailansicht ist aber gleich oder sehr ähnlich.

Aber das sind nur zwei die ich getestet habe von sehr vielen, die ich gar nicht kenne, gib einfach mal unter typo3.org: Repository das Suchwort "gallery" ein, da hast Du eine riesige Auswahl.

Alle die mit DAM in Zusammenhang stehen haben eine umfangreiche Bildverwaltung im Backend, die in erster Linie darauf abzielt die Informationen zu den Bildern mit Text anzureichern und zu katalogisieren. Je nach Erweiterung werden diese Infos auch im Frontend verfügbar, das muss aber im Einzelfall geprüft werden.
__________________
Viele Grüße
David

TYPO3 4.1.6 | Win XP | Apache 2.0.52 | MySQL 4.0.23 | PHP 5.0.3

David Bruchmann - Mediengestaltung
www.bruchmann-web.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #13  
Alt 19.05.08, 16:32
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Das ganze ist bei der rgssmoothgallery mit schon zu extrem. ich muss lediglich Texte und Bilder anpassen können und mit Buttons eben hin- und herblättern können. Ich werd mir mal einige anderen Galerien noch anschauen und mich nochmals melden wenn es bei mir klappt. Danke für deine Hilfe schonmal.
__________________
|| TYPO3 Ver. 4.0 || Win XP || Password: •••••• || mood: ||
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #14  
Alt 19.05.08, 16:40
Benutzerbild von david
TYPO3 Forum Team
Moderator
 
Registriert seit: 17.07.06
Ort: München
Beiträge: 770
david eine Nachricht über Skype™ schicken

Ja, mir ist es auch etwas extrem - aber ich habe mich auch nicht sehr ausführlich damit beschäftigt, so daß ich nicht genau weiss was man alles abstellen kann.
Aber dann würde ich die andere empfehlen: kj_imagelightbox2 - falls Du nichts gegen JavaScript hast.
Ansonsten: halt Dich bei der Auswahl an die Erweiterungen, die als STABLE bezeichnet sind - das erleichtert die Auswahl und weist darauf hin, daß diese Erweiterungen (weitgehend?) fehlerfrei sind.
__________________
Viele Grüße
David

TYPO3 4.1.6 | Win XP | Apache 2.0.52 | MySQL 4.0.23 | PHP 5.0.3

David Bruchmann - Mediengestaltung
www.bruchmann-web.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #15  
Alt 19.05.08, 16:49
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Die Seite sollte schon möglichst barrierefrei bleiben, darum versuch ich so gut wie möglcih das JS einzuschränken. Ich stöber mal weiter bei den andern anderen Extensions ob es noch was primitiveres gibt.
__________________
|| TYPO3 Ver. 4.0 || Win XP || Password: •••••• || mood: ||
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #16  
Alt 21.05.08, 11:01
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Die anderen Gallerien sind alle viel zu arg aufgetragen.
Ich muss nun also doch den Code anpassen.

PHP-Code:
function SingleGallery() {
        
$template['total'] = $this->cObj->getSubpart($this->template,$this->conf['singleLayout']==0?'###SINGLEVIEW###':'###SINGLEVIEW1###');
        
$template['item'] = $this->cObj->getSubpart($template['total'],'###THUMBLIST###');
        
$template['single'] = $this->cObj->getSubpart($template['total'],'###SINGLEONE###');
        
$innercontent=$singlecontent=$cap='';
        
$single=array();
        if(!isset(
$this->piVars['id'])) $this->piVars['id']=$this->conf['singleView.']['singleID']; 
        
$page=intval($this->piVars['page']); 
        
        
// get Data
        
$where '';
        if (
$this->sys_language_mode == 'strict' && $GLOBALS['TSFE']->sys_language_content) {
            
$tmpres $GLOBALS['TYPO3_DB']->exec_SELECTquery('tx_sksimplegallery_galleries.l18n_parent''tx_sksimplegallery_galleries''tx_sksimplegallery_galleries.sys_language_uid = '.$GLOBALS['TSFE']->sys_language_content.$this->enableFields);
            
$strictUids = array();
            while (
$tmprow $GLOBALS['TYPO3_DB']->sql_fetch_assoc($tmpres)) {
                
$strictUids[] = $tmprow['l18n_parent'];
            }
            
$strStrictUids implode(','$strictUids);
            
$where .= '(tx_sksimplegallery_galleries.uid IN (' . ($strStrictUids?$strStrictUids:0) . ') OR tx_sksimplegallery_galleries.sys_language_uid=-1)';
        } else
            
$where .= 'tx_sksimplegallery_galleries.sys_language_uid IN (0,-1)';
        
$where .= ' AND deleted = 0 AND hidden = 0';
        
$res $GLOBALS['TYPO3_DB']->exec_SELECTquery('*''tx_sksimplegallery_galleries'$where.' AND uid='.intval($this->piVars['id']));
        if(!
$GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
            return 
"no data for this view";
            break;
        }
        
$row $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
        
// get the translated record if the content language is not the default language
        
if ($GLOBALS['TSFE']->sys_language_content) {
            
$OLmode = ($this->sys_language_mode == 'strict'?'hideNonTranslated':'');
            
$row $GLOBALS['TSFE']->sys_page->getRecordOverlay('tx_sksimplegallery_galleries'$row$GLOBALS['TSFE']->sys_language_content$OLmode);
        }
        
$thumb_ids=explode(',',$row['pictures']); 
        
$count=count($thumb_ids);
        
        
//PB
        
$PB=''
        
// initialize loop params
        
$start=0;
        
$end=$count;
        
        
// calculate Pagebrowser  (only with $this->conf['singleLayout']==0)
        
if($this->conf['singleLayout']==|| ($this->conf['singleLayout']==&& !$this->piVars['single']) ) {
            if(
intval($this->conf['singlePageRecords'])>&& $count>intval($this->conf['singlePageRecords']) ) {
                
$maxpages=ceil($count/intval($this->conf['singlePageRecords']));
                
$start=$page*$this->conf['singlePageRecords'];
                
$end=$start+$this->conf['singlePageRecords']>$count?$count:$start+$this->conf['singlePageRecords'];
                
$PB.='<p class="pagebrowser">'.$this->pi_getLL('pi_list_browseresults_page','Page').' ';
                for(
$i=0;$i<$maxpages;$i++) {
                    
$PB.=($i==$page '<span class="active">'.($i+1) : '<span><a href="'.$this->pi_linkTP_keepPIvars_url(array('page'=>$i),1,0,$GLOBALS['TSFE']->id).'">'.($i+1).'</a>').'</span>';
                }
                
$PB.='</p>';
            }
        }

        
$this->caption='';
        for(
$i=$start;$i<$end;$i++) {
            
$where '';
            if (
$this->sys_language_mode == 'strict' && $GLOBALS['TSFE']->sys_language_content) {
                
$tmpres $GLOBALS['TYPO3_DB']->exec_SELECTquery('tx_sksimplegallery_pictures.l18n_parent''tx_sksimplegallery_pictures''tx_sksimplegallery_pictures.sys_language_uid = '.$GLOBALS['TSFE']->sys_language_content.$this->enableFields);
                
$strictUids = array();
                while (
$tmprow $GLOBALS['TYPO3_DB']->sql_fetch_assoc($tmpres)) {
                    
$strictUids[] = $tmprow['l18n_parent'];
                }
                
$strStrictUids implode(','$strictUids);
                
$where .= '(tx_sksimplegallery_pictures.uid IN (' . ($strStrictUids?$strStrictUids:0) . ') OR tx_sksimplegallery_pictures.sys_language_uid=-1)';
            } else
                
$where .= 'tx_sksimplegallery_pictures.sys_language_uid IN (0,-1)';
            
$where .= ' AND uid='.intval($thumb_ids[$i]).' and hidden=0 and deleted=0';
            
$query $GLOBALS['TYPO3_DB']->SELECTquery(
                
'*',         // SELECT ...
                
'tx_sksimplegallery_pictures',     // FROM ...
                
$where,    // WHERE...
                
'',            // GROUP BY...
                
'',    // ORDER BY...
                
''            // LIMIT ...
            
);
            
$res $GLOBALS['TYPO3_DB']->sql(TYPO3_db$query);
            
            
            
// already localized picture
            
if (!$GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
                
$query $GLOBALS['TYPO3_DB']->SELECTquery(
                           
'*',    // SELECT ...
                        
'tx_sksimplegallery_pictures',     // FROM ...
                        
'uid = ' intval($thumb_ids[$i]) . ' AND deleted = 0 AND hidden = 0',
                        
'',        // GROUP BY...
                        
'',        // ORDER BY...
                        
''        // LIMIT ...
                        
);
                
$res $GLOBALS['TYPO3_DB']->sql(TYPO3_db$query);
                
$thumb $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
            } else {
                
$thumb $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
                
// get the translated record if the content language is not the default language
                
if ($GLOBALS['TSFE']->sys_language_content) {
                    
$OLmode = ($this->sys_language_mode == 'strict'?'hideNonTranslated':'');
                    
$thumb $GLOBALS['TSFE']->sys_page->getRecordOverlay('tx_sksimplegallery_pictures'$thumb$GLOBALS['TSFE']->sys_language_content$OLmode);
                }
            }    
           
  

            if(
$thumb) {
                
$this->conf['thumbView.']['file']=$this->uploaddir.$thumb['picture'];
                
$this->conf['thumbView.']['params'] = $this->pi_classParam('image');
                
$this->conf['thumbView.']['altText'] = $thumb['title'];
                
$this->conf['thumbView.']['titleText'] = $thumb['title'];
                
$this->conf['thumbView.']['caption'] = $thumb['description'] ? strip_tags($thumb['description']) : $thumb[$this->config['popupAltDescriptionField']];
                
$this->caption.=$thumb['title']."\n";
                
                
//retrieve EXIF Data
                
$markerArray['###EXIF###']='';
                if(!
$this->conf['donotreadEXIF']) {
                    
$exif $this->getExifData($this->uploaddir.$thumb['picture']);
                    
$markerArray['###EXIF###']=is_array($exif) ? $this->cObj->stdWrap($this->infoExifDiv($exif),$this->conf['exifData.']) : ''
                }
                
$popup=$this->cObj->data['tx_kjimagelightbox2_imagelightbox2']==0?$this->conf['thumbMode']:0;
                if(
$this->conf['singleLayout']==1$popup=0;
                
$markerArray['###THUMB###']=$this->ImageMarker($this->conf['thumbView.'],$popup);
                
$imginfo=$GLOBALS['TSFE']->lastImageInfo;
                
$markerArray['###WIDTH###']='style="width:'.$imginfo[0].'px;"';
                
                if(
$this->cObj->data['tx_kjimagelightbox2_imagelightbox2']==&& $popup==0) {
                    
$markerArray['###THUMB###']=$this->pi_linkTP_keepPIvars($markerArray['###THUMB###'],array('id'=>$this->piVars['id'],'backpid'=>$this->piVars['backpid'],'page'=>$this->piVars['page'],'single'=>$thumb['uid']),1,1,$GLOBALS["TSFE"]->id);
                }
                
                
$markerArray['###THUMBTITLE###']=$thumb['title'];
                if(
$this->conf['activateEcards']==1) {  
                    
$linkWrapArray['###ECARDLINK###']=explode('|',$this->pi_linkToPage('|',$this->conf['eCards.']['viewPID'],'',array($this->prefixId.'[newecard]'=>$thumb['uid'],$this->prefixId.'[backpid]'=>$GLOBALS["TSFE"]->id)));   
                } else {
                    
$subpartArray['###ECARDLINK###']='';
                }
                
// Adds hook for processing of extra item markers
                
if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sk_simplegallery']['extraSingleMarkerHook'])) {
                    foreach(
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sk_simplegallery']['extraSingleMarkerHook'] as $_classRef) {
                        
$_procObj = & t3lib_div::getUserObj($_classRef);
                        
$markerArray $_procObj->extraSingleMarkerProcessor($markerArray$thumb$this);
                    }
                }
                
$innercontent.=$this->cObj->substituteMarkerArrayCached($template['item'], $markerArray,$subpartArray,$linkWrapArray);
                
          
                
                if(
$thumb_ids[$i]==$this->piVars['single']) {
                

             
 
                    
$single=$thumb;
                    
                    
//change for Layout1, thx to Uwe Schmelzer
                    
                    //clear overview part of template
                    
$subpartArray['###OVERVIEW###']='';
                        
// Store ID of prev/next image for later use
                        // as prev/next Link in single view.
                      
$single['linkToPreviousImage'] = '';
                      
$single['linkToNextImage'    ] = '';


                        if ((
$i-1) >= 0    ) {
                            
// set Link to previous image
                            
$link_param = array();
                            
$link_param['id'        ] = $this->piVars['id'];
                            
$link_param['backpid'] = $this->piVars['backpid'];
                            
$link_param['page'    ] = $this->piVars['page'];
                            
$link_param['single' ] = $thumb_ids[$i-1];
                            
$link_text  $this->cObj->stdWrap($this->pi_getLL('pi_list_browseresults_prev'),$this->conf['linkTextPrevious.']);
                            
                            
// link marker content
                          
$single['linkToPreviousPicture'] = $this->pi_linkTP_keepPIvars($link_text$link_param11$GLOBALS["TSFE"]->id);

                            
// counter info marker content
                          
$single['pictureXofY'          ] = '('$link_param['single' ] .'/'$end .')';

                        } else    {
                            
// this is the first image
                            
$link_text  $this->cObj->stdWrap($this->pi_getLL('pi_list_browseresults_first'),$this->conf['linkTextFirst.']);
                            
$single['linkToPreviousPicture'] = $link_text;
                        }
                        
                        if ((
$i+1) < $end) {
                            
// set Link to next image
                            
$link_param = array();
                            
$link_param['id'        ] = $this->piVars['id'];
                            
$link_param['backpid'] = $this->piVars['backpid'];
                            
$link_param['page'    ] = $this->piVars['page'];
                            
$link_param['single' ] = $thumb_ids[$i+1];

                            
$link_text  $this->cObj->stdWrap($this->pi_getLL('pi_list_browseresults_next'),$this->conf['linkTextNext.']); 
                            
$single['linkToNextPicture'] = $this->pi_linkTP_keepPIvars($link_text$link_param11$GLOBALS["TSFE"]->id);

                        } else    {
                            
// this is the last image
                            
$link_text  $this->cObj->stdWrap($this->pi_getLL('pi_list_browseresults_last'),$this->conf['linkTextLast.']); 
                            
$single['linkToNextPicture'] = $link_text