Benutzername    Passwort    Autologin    
  Passwort vergessen       Registrieren  
beeForum Foren-übersicht » hal9000 » mod support
Neues Thema eröffnen   Neue Antwort erstellen Hervorhebung entfernen


Missing Rotate Controls
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
Kevio





Titel: Missing Rotate Controls
Verfasst am: Mo, 19 Dez 2005, 03:19
Beitrag
Antworten mit Zitat

I just realized that I don't have the "rotate image" controls in the Pic Upload window. I checked the .tpl, and the code is there:

Code:
          <!-- BEGIN switch_imagerotate_ok -->
          <tr height="30">
            <td class="row1"><u>{L_ROTATE}</u>:&nbsp;</td>
            <td colspan="2" class="row2">{L_ROTATE0}
              <input type="radio" name="uploadpic_rotate" value="0" checked>
              | {L_ROTATE90}
              <input type="radio" name="uploadpic_rotate" value="90">
              | {L_ROTATE180}
              <input type="radio" name="uploadpic_rotate" value="180">
              | {L_ROTATE270}
              <input type="radio" name="uploadpic_rotate" value="270"></td>
          </tr>
          <!-- END switch_imagerotate_ok -->


...but the window displays:



When I ran the installer (for 1.2), everything seemed to go OK, and the language file has the labels in it. Am I missing something simple?

And for anyone interested, I think I have a very cool implementation of this feature (with Boris' assistance!). Swing by http://forums.carvinmuseum.com and have a look (you'll have to register if you want to see the Pic Uploader - security reasons)..

Nach oben
Rang:
boris



Beiträge: 10136

Titel: Re: Missing Rotate Controls
Verfasst am: Mo, 19 Dez 2005, 10:40
Beitrag
Antworten mit Zitat

Kevio @ Mo, 19 Dez 2005, 02:19 gab folgendes von sich:
I just realized that I don't have the "rotate image" controls in the Pic Upload window. (...) Am I missing something simple?

Yes: the image_rotate-function big grin

Check out the FAQ (here), I. 8. tells you why.
Obviously your version of the GD-library doesn't support that function - the "switch" in the code you quoted tells UploadPic to display the rotate-option only when the function is available (otherwise you'd get an error message).


____________
beehave - home of humbug ... [we can't afford to be neutral]

Nach oben
Private Nachricht senden Website dieses Benutzers besuchen Rang:godmode methusalem 3. platz professioneller Sportangler Profi-Winzer (7x Hamm) Arcade-Meister, Rang 16 rainbow-cup
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    beeForum Foren-übersicht » hal9000 » mod support Seite 1 von 1
Gehe zu:  


Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
phpBB © phpBB Group | impressum