|
Autor |
Nachricht |
Kevio
|
Titel: Missing Rotate Controls
Verfasst am: Mo, 19 Dez 2005, 03:19 |
|
|
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>: </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 |
|
boris
Beiträge: 11190
|
Titel: Re: Missing Rotate Controls
Verfasst am: Mo, 19 Dez 2005, 10:40 |
|
|
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
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 |
|
|
|
ähnliche Beiträge |
|
Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
|