Comunidad de diseño web y desarrollo en internet online

iimage-gallery y WP

Citar            
MensajeEscrito el 26 Feb 2007 01:39 pm
He estado tratando de usar el plugin iimage-gallery en una instalacion de Wp, pero no lo he logrado.

Creo, que el problema radica en que el plugin se usa de la siguiente forma:

Código :

<gallery>
    <img src="algo" ..... />
</gallery>

O en su defecto (dice que si se usa editor)

Código :

[gallery]
    <img src="algo" ..... />
[/gallery]

Pero me di cuenta que el editor elimina la etiqueta <gallery> o [gallery] de igual forma, voy a las opciones y le digo que no use editor para escribir, pero el editor me sigue apareciendo.


WTF can i do?

Por Ramm

BOFH

3152 de clabLevel

6 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell REC Héroes

London, UK

firefox
Citar            
MensajeEscrito el 26 Feb 2007 03:32 pm
En las versiones nuevas creo que el editor es así y ya está. Revisa quicktags.js quizá añadiendo una para <gallery>...

Otra opción, no puedes modificarlo desde PHP Miami?

Por frenadoll

922 de clabLevel

6 tutoriales

Genero:Masculino  

Barcelona

firefox
Citar            
MensajeEscrito el 27 Feb 2007 03:35 am
Primero que nada, desactiva el editor visual, en tu panel de control vé a usuarios y en tu perfil está la opción, desactivala.
Por otro lado tal vez deberías editar el archivo php del plugin "iimage-gallery.php"
Puedes configurar los siguientes valores:


Código :

 before = '<div class="gallery">'
will be placed before every gallery

after = '</div>'
will be placed after every gallery

before_each = '<a href="%s" class="gallery_item">'
will be placed before each image
%s will be replaced with 'src', 'alt', 'title' in this order
this could be useful for something like this:
<a href="my-gallery.php?img=%s&alt=%s&title=%s">

after_each = '</a>'
will be placed after each image

cache_dir = '/thumb-cache/'
relative to your upload directory
this plugin will try to create it for you, but don't rely on it

recreate_when_updated = true
should be thumbnails recreated when post is updated?
maybe you'd rather create only new thumbnails?

default_quality = 90
0..100 - quality of JPEG compression

default_max_side = 100
largest side of thumbnail in pixels

default_crop = false
crop images to square thumbnails

default_crop_center = true
crop image to upper left corner or to the center?

ig_show_errors = true
if true - error message will be added at the end of your post

default_sharpening = 0
value = 0..100
0 means no sharpening at all
Be carefull about this parameter because harpening takes quite a long time and the script can exceed the time limit for running. 

Por La100rra

Claber

5776 de clabLevel

11 tutoriales
4 articulos

Genero:Masculino  

Cd. Juárez, Chihuahua, México.

clabbrowser

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.