Board index PBase Questions and Answers mi imagen en la web de pbase - my image in the Web of pbase

Questions and Answers

mi imagen en la web de pbase - my image in the Web of pbase

Ask if you need help using PBase.
fernandoj
 
Posts: 30

mi imagen en la web de pbase - my image in the Web of pbase

Post Sun May 16, 2004 2:40 pm


hola. me gustaría poner una imagen mía en cada una de mis galerías. he visto a algunos fotógrafos que lo han hecho. se trata de poner una imagen en la parte izquierda o derecha de la ventana, aparte de las fotografías publicadas, y que siempre es la misma. creo que eso se hace modificando el código fuente. ¿alguien me puede ayudar? muchas gracias.

-----------------------------------------------------------

hello. I would like to put an image mine in each one of my galleries. I have seen some photographers who have done it. one is to put an image in the left part or right of the window, aside from the published photographies, and that always are the same one I believe that that is done modifying the source code. somebody can help me? thank you very much.

ilanphoto
 
Posts: 876


Post Sun May 16, 2004 6:38 pm


Sorry I can't answer you in spanish :cry:

You have to add the following code to your CSS file. Just change the link to the picture of your choise.

Code: Select all
body
  {
    background: #f8edc1;
    margin-left: 0.1in;
    margin-right: 1.2in;
    background-attachment: fixed;
    background-repeat: repeat-y; /*repeats only the y axis*/
    background-position: right bottom; /*center center;*/
    background-image: url(http://www.pbase.com/image/xxxxxxx/small.jpg);
  }



Yoy may have to play with the parameters to fit your needs
hope that helps
Ilan

egillbjarki
 
Posts: 21


Post Fri Jul 02, 2004 12:30 pm


Can anyone tell me how CSS works? I dont know anything about computers, just know how to use the internet and how to use photoshop, thats it :? I´m trying to put a picture in the background in my galleries...

ilanphoto
 
Posts: 876


Post Fri Jul 02, 2004 2:51 pm


egillbjarki wrote:Can anyone tell me how CSS works? I dont know anything about computers, just know how to use the internet and how to use photoshop, thats it :? I´m trying to put a picture in the background in my galleries...


Take alook at the html gallery there are a lot of these kind of questions and answers

matiasasun
 
Posts: 1493

Re: mi imagen en la web de pbase - my image in the Web of pb

Post Fri Jul 02, 2004 5:13 pm


darman wrote:hola. me gustaría poner una imagen mía en cada una de mis galerías. he visto a algunos fotógrafos que lo han hecho. se trata de poner una imagen en la parte izquierda o derecha de la ventana, aparte de las fotografías publicadas, y que siempre es la misma. creo que eso se hace modificando el código fuente. ¿alguien me puede ayudar? muchas gracias.


(Nota: Por una increíble estupidez de mi parte tuve que editar este comentario ya que había entendido mal tu petición)

Claro que lo podemos ayudar amigo! Si te entiendo bien lo que quieres es poner una imnagen como la que yo tengo de un Lego con una bandera pirata en esta galería: http://www.pbase.com/matiasasun/historias

Lo que tiene que hacer es ir editar una "hoja de estilo" con un código fuente especial. Para ello debes ver el código fuente primero (porque de otro modo habría que estudiar HTML y eso es muy complejo, al menos para mí). Para ver el código fuente puedes hacer click sobre el botón izquierdo del Mouse sobre la página y "ver código fuente" o ir a este sitio (Click AQUI).

Allí, si utilizamos como referente la página de mi sitio deberías encontrar un código mas o menos así (le he sacado dos líneas para evitar confusiones):
Code: Select all
body {
   background-color:#404D57;
   color:#ffffff;
   background-attachment: fixed;
   background-image: url(http://cakili.image.pbase.com/image/29428149.jpg);
   background-repeat: no-repeat;
   background-position: left bottom;


Lo que te interesa, es decir lo que se traduce en la vista como "hoja de estilo" es todo aquello que está entre el primer <!-- y --> . Eso es, básicamente, la hoja de estilo. Y, por lo tanto, puedes tratar de ver cualquier hoja de estilo para ir aprendiendo. A mí no me salen muy bien todo el tiempo pero con la práctica uno va mejorando.

En concreto, para mi galería, lo que yo hice fué agregarle el código que recien te mostraba para el cuerpo de la hoja. Alli, como verás, hay varios códigos donde el que mas te interesa debe ser este:
Code: Select all
background-image: url(http://cakili.image.pbase.com/image/29428149.jpg)

Pues refiere a la imagen de fondo. Luego de él podrás ver otros como si se repite o nó, y la posición en la que lo quieres dejar, además de otros que yo no utilicé.

Por si no lo sabes (o para cualquier otro que pueda estar preguntandose lo mismo), para acceder a la página para editar una "Hoja de Estilo" (Style Sheet) sólo debes hacer click sobre el vínculo que te lo permite desde la página de edición de cualquier galería, al lado del menú de selección de hojas de estilo.

Espero te sirva. Si tienes alguna otra duda creo que podemos ayudarnos mutuamente ya que este sitio es mas bien de puro inglés y eso a veces cuesta un poco. Te recomiendo que revises las páginas de algunos personajes que publican bastante seguido por aquí ya que ellos han dedicado bastante horas al diseño de sus sitios y por lo tanto se puede aprender bastante de ellos.

Saludos y suerte.

Matias, Chile
Matias, Chile - http://www.pbase.com/matiasasun
Resources, HOWTOs, Samples and more! - http://pbasewiki.srijith.net/


Board index PBase Questions and Answers mi imagen en la web de pbase - my image in the Web of pbase

Who is online

Users browsing this forum: No registered users and 2 guests