Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aardid

Pages: [1] 2 3
1
yo despues modifique esto porque como vos decis si la imagen era vertical quedaba mal
esto :

Code: [Select]
      $width2 = (($width>500)?$width2=500:$width2=$width);
      $height2 = (($height>340)?$height2=$height*500/$width:$height2=$height);

lo cambie por esto:

Code: [Select]
      if ($width>640) {$width2=640; $height2=$height*640/$width; } else $width2=$width;
      if ($height>480) {$width2=$width * 480 / $height; $height2=480; } else $height2=$height;

2
Español / Castellano / Re: Problemas al subir mp3
« on: June 01, 2005, 02:54:56 PM »
seguimos igual, y mi servidor tiene el maxuploadsize en 20mb  :evil:

3
hola que tal, tengo problemas como tienen varios con el tema de subir archivos mp3 u otros que pesen 5mb o mas, tarda un monton y al final pone que no es un archivo valido. siendo que esta bien configurado, y que el servidor tiene el php.ini en 20mb el maxuploadsize ...

que otra cosa puede ser ?


5
u can edit permissions as any other category - through ACP.

but, the permissions set automatically with PRIVATE, how i can change for the default is ALL ...

6
hi, how can i change the permissions for user personal gallery, if i create a member personal category when other user enter into the gallery he cant view other personal galleries ... and when i edit this categories, the options was all in PRIVATE ...

7
Saludos,,,,

Esta opción es para los usuarios que tienen problemas de espacio en su servidor.

Lo que tu quieres hacer,, lo tienes muy facil,, bajate la imagen y la subes a tu servidor.

excitex2

claro pasa que si son muchas es medio lio bajarlas y subirlas.

pero bue, hare eso ...  :wink:


8
se puede hacer eso ?
que cuando yo hago upload y pongo una imagen remota, que la imagen la suba al server, como si yo pusiera examinar ... porque sino queda como imagen remota y si el server remoto la borra yo la pierdo ...



9
Quote from: ib41
should that code be added at the TOP ? Bottom ? anywhere specific ?
no. just make sure it's inside the <form...>...</form>


when i go to control panel (user control panel) and i activate personal gallery, then i go to the control panel and the option is off ... but if i go to the categories, my personal category was created ...

10
me olvide,
tambien el de postales y el mio este: http://www.4homepages.de/forum/index.php?topic=8105.0

11
BUENO, como dice el titulo, para compartir con los demas ... que mods instalaron en sus galerias ?

yo por ahora el integrate con phpbb, batch script, y a punto de poner el de watermark y el de galerias personales por usuario.


12
Plugins / Re: [Plugin] Batch Import
« on: May 27, 2005, 01:59:59 PM »
can you helpme ?

when i do it ...

Quote
The data source path "/public_html/galeria/4images/admin/images" seems to be incorrect!




13
al ver el listado de fotos, los thumbnails no concuerdan con la foto, pero al clickear y ver el detalle si.
que puede estar pasando ?
me pasa con cualquier template.

aca ven el listado, por ejemplo los nombres son fiat tuning y fiat audio, pero a algunas fiat audio le pone el thumbnail de fiat tuning ...



al hacer click el detalle muestra la foto correcta:


14
Bueno, soy novato pero me hice algo que buscaba y no encontre ...
El tema viene a esta necesidad, yo queria algo que cuando veo el detalle de la imagen, si la imagen es muy grande y se va de mi pantalla que me la achique proporcionalmente de la original y que al cliquear me abra en un popup la original.

les muesto como quedaron mis archivos:

templates/nombre_de_template/media/jpg.html

lo deje asi:
Code: [Select]
<!-- Template file for JPG Files -->
<a class="big" href="javascript:pupUp('{media_src}','{width1}','{height1}');">
<img src="{media_src}" width="{width2}"; height="{height2}"></a><br />

asi viene original el : templates/nombretemplate/header.html

Code: [Select]
<script language="javascript" type="text/javascript">
<!--
  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  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>

agregue la funcion de popup arriba de  function opendetailwindow() {
y queda asi:

Code: [Select]
<script language="javascript" type="text/javascript">
<!--

function pupUp(the_page,the_width,the_height)
{
 window.open(the_page,"","location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,dependent=no,width=" + the_width + ",height=" + the_height);
}

  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  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>

dentro de functions.php
buscar la linea que tiene
Code: [Select]
$width = $image_info[0];
$height = $image_info[1];

y agregar lo que esta abajo,
width1 y height1 es el valor que va a tener de tamaño el popup a abrir la imagen, le agregué 20pixels porque sino la imagen no se ve completa.
width2 y height2 es el tamaño que va a mostrar la imagen en detalle reducida(yo puse maximo 500px de ancho) ... ahi hagan la formula que les guste o pongan un valor fijo


Quote
      $width = $image_info[0];
      $height = $image_info[1];
      $width1 = $width+20;
      $height1 = $height+20;
      $width2 = (($width>500)?$width2=500:$width2=$width);
      $height2 = (($height>340)?$height2=$height*500/$width:$height2=$height);

y en el mismo archivo un poco mas abajo
donde tiene esto:

Code: [Select]
$site_template->register_vars(array(
      "media_src" => $media_src,
      "media_icon" => $media_icon,
      "image_name" => $image_name,
      "width_height" => $width_height,
      "width" => $width,
      "height" => $height,

dejarlo asi:

Code: [Select]
    $site_template->register_vars(array(
      "media_src" => $media_src,
      "media_icon" => $media_icon,
      "image_name" => $image_name,
      "width_height" => $width_height,
      "width" => $width,
      "height" => $height,
      "width1" => $width1,
      "height1" => $height1,
      "width2" => $width2,
      "height2" => $height2,
      "iptc_info" => $iptc_info
    ));



Bueno me parece que nada mas, cualquier cosa consulten y que si puedo los ayudo con gusto  :mrgreen:


15
Español / Castellano / Re: se puede hacer esto ?
« on: May 25, 2005, 11:34:12 PM »
bueno lo pude hacer, pero voy a hacer un post aparte con un tipo de MOD je

Pages: [1] 2 3