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 - jrey

Pages: [1] 2 3
1
Este mod está de puta madre combinado con otros,pero tiene un fallo: redimensiona la imagen a un ancho o alto fijo, pero la proporción del lado no redimensionado se queda igual, osea que si por ejemplo quiero que las imágenes no superen los 700 px de ancho lo que ocurre es que la imagen no superará esa medida, pero el alto de la imagen queda igual, no redimensiona la imagen proporcionalmente. Para evitar este fallo es mejor hacer esto en functions.php:

1. 'Go to includes/functions.php'

Find:

      if ($image_info = @getimagesize($src, $info)) {
        $width_height = " ".$image_info[3];
        $width = $image_info[0];
        $height = $image_info[1];

Add after:

   unset($resized);
   if ($width > 620)
   {
                      $new_limit = "624";
                      $limit_var = "width";
         $resized = 1;
     }
     else
   {
                   $new_limit = $image_info[0];
                  $limit_var = "width";
          $resized = 0;
   }


Find:

"&amp;mode=".$mode : ""))."\">".$media_icon."</a>";
    }
    $width_height = "";
    $width = "";
    $height = "";

Add after:

    $limit_var = "";
    $new_limit = "";


Find:

      $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,

Add after:

      "new_limit" => $new_limit,
      "resized" => $resized,
      "limit_var" => $limit_var,


Lo he cogido de otro post. En medi/jpg.html hay que poner esto:

<img src="{media_src}" border="0" alt="{image_name}" {limit_var}="{new_limit}" />

Siendo   {limit_var}="{new_limit}"    la parte que nos interesa.

Saludos

javi

2
Im using this mod and works very good, but I have a litte problem. The problem is that   $lang['already_voted'] and $lang['voting_success'] are showed only in spanish ( I have two languages in my gallery, spanish and english ). I have both messages in english and spanish ( in the main.php file of the lang dir ), but when you rate you see the messages always in spanish ( if you are in the english version its the same, you see these message in spanish ), its a mistake...

3
Anybody Knows how to integrate this rating mod with 4images ?

4
Discussion & Troubleshooting / Re: Exclude Category from New Images
« on: May 04, 2007, 05:16:08 PM »
 :D :D :D :D :D  Yes, its perfect !!. Thank you very much to both, I did it and now I can configure in my acp the categories that I want to hide and showing the correct statistics. Great help. Thanks again.

Bye

jrey

5
Discussion & Troubleshooting / Re: Exclude Category from New Images
« on: May 04, 2007, 12:39:13 AM »
Im using this solution for my gallery and works fine, but the problem that I have is that the statistics in category "New Images" are showing the total number of images ( the real number, counting the images that Im not showing in "New Images" ) and its showing the paging of this result, then if for example I have 50 images but Im showing only 12, there is not really a second page with more images, but paging says that yes, and if you press in the link to the second page you will not see anything, only a page with not images. How can I adapt the "real" statistics and paging to my modified/restricted results ?. I want that statistics says " There are 12 new images" and not  "There are 50 new images" in three pages  - Got to page 2,3 "  ( continuing with the example ).

Thanks in advance.

Javi

6
Well, sorry. Very good idea if were possible...for free.

7
Is possible to change the mod for show any basic info of the image instead of the keywords ?. I wanna show in the cloud the image name, author, description....

8
Very good idea if were possible...

9
Chit Chat / Re: JavaScript + CSS = Nice Picture Display
« on: April 10, 2007, 11:52:50 PM »
I think it would be nice display large image, instead of opening it in a new window :)

Anybody Knows ?

10
Mods & Plugins (Releases & Support) / Re: [MOD] guestbook
« on: April 04, 2007, 01:07:23 PM »
I need it too...

11
Thanks Kurt !!!!

12
Español / Castellano / category_bit.html alternativo ?
« on: March 31, 2007, 03:54:13 AM »
Hola a todos. ¿Alguien sabe como puedo hacer para que en una categoría específica de mi galería se vean las miniaturas de las fotos ( thumbnails ) de un modo diferente ? . Lo que ocurre es que en mis galerías muestro los thumbnails a palo seco, sin ningún tipo de información ( es una galería personal ), pero como he puesto una categoría especial para que los usuarios registrados puedan subir sus fotos pues necesitaría que en esta categoría sí se pudiese ver debajo de las thumbnails la típica información: autor, nombre de la foto...El problema es que no sé como hacer para que justo en esa categoría si que pueda ver esta información y en las otras no.

Por otra parte también me gustaría saber si hay algún modo de que aparezca toda esta información ( autor, nombre de la foto...) cuando paso el ratón sobre las thumbnails ( esto me hace falta para todas las categorías normales, en las que no enseño esta información )


Saludos y muchas gracias.

13
Hello everybody. I wanna know if is possible use an alternative "category_bit.html" template only for a specific category. Actually, Im showing the thumbnails with no information bellow, but I have one category for guests and its important for me that, in this category only, you can see the normal information bellow the thumbnails ( author,name of the image...). I wanna know also what must I do for showing the info of the images in the rest of categories ( the "normal categories, where thumbnails has no information bellow )  when you pass the mouse over the thumbnails, because at the moment I can´t see nothing.

Thanks

Javi

14
Español / Castellano / Objeto de flash en dos idiomas
« on: March 31, 2007, 02:33:10 AM »
Hola a todos. Tengo un problema con un menu hecho en flash que pongo en la cabecera de la galería. Mi problema es que no sé como hacer para que aparezca el menú de flash en español o inglés dependiendo del idioma elegido. Yo tengo en realidad dos menús de flash. Los dos son iguales, solo que uno está en inglés y otro en español.Instalé el mod de Vano para que el usuario pueda elegir entre inglés y español. Todos los textos cambian de idioma y todo va bien, pero claro...mi problema es con los objetos de flash.

Lo primero que pensé, pero que no funcionó, fue esto:

<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="htp://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="80" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="{template_lang_image_url}/menu.swf" quality="high" bgcolor="#ffffff" width="770" height="80" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="htp://www.macromedia.com/go/getflashplayer" />
</object>


Curiosamente, esta solución si funciona con mi ordenador ( un mac ). En el mío si que cambia el menú al cambiar de idioma, pero en dos pc´s que ya hice la prueba no ocurre lo mismo, así que supongo que la única manera de hacerlo sería con unas etiquetas del tipo:

{if lang_spanish}
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="htp://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="80" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="menu.swf" quality="high" bgcolor="#ffffff" width="770" height="80" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="htp://www.macromedia.com/go/getflashplayer" />
</object>
{endif lang_spanish}


...para mostrar el menú en español a los usuarios que vean la galería en español ( menu.swf )


y...


{if lang_english}
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="htp://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="80" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="menu2.swf" quality="high" bgcolor="#ffffff" width="770" height="80" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
{endif lang_english}


...para mostrar el menu2.swf a los usuarios que vean la web en inglés.

La cosa es que no sé cual es la etiqueta que debo utilizar para ello, si es que existe.


¿Alguna sugerencia o respuesta a mis plegarias?


Saludos y gracias

Javi

15
Maybe its possible doing what Im looking for if I put any tag like "{if_lang_spanish}" in all the html documents ?. I want do something like this:



{header}
{if_lang_spanish}
<center>
<table width="770px" >         
<tr>
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="80" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="menuspanish.swf" quality="high" bgcolor="#ffffff" width="770" height="80" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center></td>
</tr> 
<tr>
           <td  width="85%" align="left"><img src="{template_url}/images/header_logo.jpg" width="284px" alt="" /></td>         
            <td width="15%" align="right">{lang_select}</td>
</tr>
      </table>
</center>
<center>
   <table width="770px" >
<tr>
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="31" id="galerias" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="galeriasspanish.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="galerias.swf" quality="high" bgcolor="#ffffff" width="770" height="31" name="galerias" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center>
</tr>
</table>
</center>
</br>
{end_if_lang_spanish}
{if_lang_english}

<center>
<table width="770px" >         
<tr>
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="80" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="menuenglish.swf" quality="high" bgcolor="#ffffff" width="770" height="80" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center></td>
</tr> 
<tr>
           <td  width="85%" align="left"><img src="{template_url}/images/header_logo.jpg" width="284px" alt="" /></td>         
            <td width="15%" align="right">{lang_select}</td>
</tr>
      </table>
</center>
<center>
   <table width="770px" >
<tr>
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="31" id="galerias" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="galerias.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="galeriasenglish.swf" quality="high" bgcolor="#ffffff" width="770" height="31" name="galerias" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center>
</tr>
</table>
</center>
</br>
{end_if_lang_english}


Anybody Knows how ?

Thanks in advance

Pages: [1] 2 3