Como adicionar uma imagem no meu tópico de forma correta?

  • Autor Autor Caffa
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
Caffa

Caffa

Delta
Social Media
Verificación en dos pasos activada
Usuário com poucas negociações! Use sempre o saldo do ForoBeta!
Hola quiero hacerles una pregunta. necesito agregar una imagen en un lugar y lo intenté y no me deja, como hago ? aca les dejo una imagen en donde iría la imagen

Enlace eliminado

Desde yá muchas gracias.
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
Tienes que añadir la imagen justo debajo del <?php the_content(); ?> en el single post
 
Algo estoy haciendo mal. mira :S

Inserir CODE, HTML ou PHP:
<?php get_header(); ?>

				<div class="content">
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
					<?php 
						$category = sf_get_category_id(get_option('sf_portfolio_category'));
						if (in_category($category) || post_is_in_descendant_category($category)) { include(TEMPLATEPATH . "/template-portfolioitem.php"); $footer = "no"; }
						else {
					?>
					<div class="blogpost">
						<div class="comments"><?php comments_number('0', '1', '%'); ?></div>
						<h2 class="title"><?php the_title(); ?></h2>
						<div class="meta">Posted <?php the_time('F jS, Y') ?> in <?php the_category(', ') ?> <?php the_tags( 'and tagged ', ', ', ' '); ?> by <?php the_author() ?></div>
						<div class="entry">
							<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
<img src="http://i271.photobucket.com/albums/jj143/Caffa123/GuidoCaffa/Compartelo.png"">
							<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
						</div>
                                </div>

					<?php if (get_option('sf_social_status')) { ?>
					<div class="social">
						<h3><?php echo get_option('sf_social_title'); ?></h3>
						<p>
							<?php echo get_option('sf_social_text'); ?>
						</p>
						<ul>
							<li class="designfloat"><a href="http://www.designfloat.com/submit.php?url=<?php the_permalink(); ?>&amp;title=<?php the_title_attribute() ?>">DesignFloat</a></li>
							<li class="delicious"><a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&amp;title<?php the_title_attribute() ?>">Delicious</a></li>
							<li class="digg"><a href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title_attribute() ?>">Digg</a></li>
							<li class="stumbleupon"><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title_attribute() ?>">StumbleUpon</a></li>
							<li class="reddit"><a href="http://reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>">Reddit</a></li>
							<li class="technorati"><a href="http://technorati.com/faves?add=<?php the_permalink(); ?>">Technorati</a></li>
						</ul>
					</div>
					<?php } ?>
					<?php comments_template(); ?>
					<?php } ?>
					<?php endwhile; else: ?>
					
							<?php include_once(TEMPLATEPATH."/page-error.php"); ?>
					
					<?php endif; ?>

				</div>

<?php if ($footer != "no") { get_sidebar();  } ?>
<?php get_footer(); ?>
 
Puede ser un error muy simple:
PHP:
<img src="http://i271.photobucket.com/albums/jj143/Caffa123/GuidoCaffa/Compartelo.png"">

Por
PHP:
<div class="social">

						<h3><?php echo get_option('sf_social_title'); ?></h3>
<img src="http://i271.photobucket.com/albums/jj143/Caffa123/GuidoCaffa/Compartelo.png">
						<p>
							<?php echo get_option('sf_social_text'); ?>
						</p>
						<ul>

Revisa las comillas de la imagen.
 
sigue sin funcionar :S
 
no, no te funciona por que la etiqueta img se cierra de esta manera:

<img src="vjsdvnd" />

ninguna comilla, nada, al final se deja un espacio seguido de un slash (/) y la etiqueta de cierre (>)
 
Fijate que tenés agregado esto:

Inserir CODE, HTML ou PHP:
<a><strong><em><img src=\\\'http://i271.photobucket.com/albums/jj143/Caffa123/GuidoCaffa/Compartelo.png\\\' /></em></strong></a>

Debería estar... así:
Inserir CODE, HTML ou PHP:
<img src='http://i271.photobucket.com/albums/jj143/Caffa123/GuidoCaffa/Compartelo.png\\\' />

Aclaro que deberias elimninar el enlace (no tiene ningun destino), y el estilo de texto (negrita y cursiva...), aunque el problema es solamente por las barras (\\\):

2v990n9.png
 
Voltar
Topo