Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Forums, Blogging and Content Management

Reply
 
LinkBack Thread Tools
Old June 1st, 2009, 02:01 AM   #1
New Member
 

Join Date: Apr 2008
Location: austin texas
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alex12345 is on a distinguished road
Can't get images into post field in Wordpress

In my wordpress blog, I cannot figure out how to switch out the "no image" buttons that are next to all the posts on my page here Austin-Network|Austin’s first 24/7 live streaming entertainment network. The theme I have has a field in the dashboard asks for "image url, Upload your image with 'Add Media' above post window, copy the url and paste it here." I cannot get anything to work though.
When I upload a picture that is 100x57 which is field size I get a question mark icon. When I upload a smaller picture it gives me the box with X through it.
I am probably doing something silly, so if anyone knows how to fix this please help. Thanks.
alex12345 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 1st, 2009, 05:27 AM   #2
Reputable Member
 

Join Date: Feb 2007
Location: UK
Posts: 213
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 dangergeek is on a distinguished road
Re: Can't get images into post field in Wordpress

Have you checked that the images have uploaded properly? Use your FTP client to browse to where the images should be, you may need to change permissions if the folder is empty
__________________
Download Guitar Hero Songs
dangergeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 1st, 2009, 11:07 AM   #3
New Member
 

Join Date: Apr 2008
Location: austin texas
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alex12345 is on a distinguished road
Re: Can't get images into post field in Wordpress

Hi,
The picture resides in wp-content/uploads/2009/05 all of which are set to 777 access. There is an empty folder wp-content/uploads/2009/06 which I moved picture into to test, but then it did not even show in my media gallery. When I move it back to the 05 folder it shows in media gallery but I cannot get it on page. What else can I try? Thanks.
alex12345 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 1st, 2009, 11:26 AM   #4
Reputable Member
 

Join Date: Feb 2007
Location: UK
Posts: 213
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 dangergeek is on a distinguished road
Re: Can't get images into post field in Wordpress

The field in the dashboard called 'image url' are you typing the full url in to this ot just part of the url?

You've identified that the images are definately uploaded on the server so now make sure that the url pointing to them is 100% correct.
__________________
Download Guitar Hero Songs
dangergeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 1st, 2009, 04:10 PM   #5
New Member
 

Join Date: Apr 2008
Location: austin texas
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alex12345 is on a distinguished road
Re: Can't get images into post field in Wordpress

I've changed the link to include all the directories, but it does not change the small image next to the posts. The image-img-thumb.jpg files I am trying to replace is located in wp-content/themes/premiumnews/images and not the uploaded one. I added pic to same folder as the image-img-thumb.jpg and pointed to it in the dashboard theme field but that didn't work.

I think there is a different spot in dashboard that should have the the proper directory with wp/content/themes/premiumnews/image-img-thumb.jpg already in there and I just need to add pics to folder and change image-img-thumb.jpg to blahblah.jpg. But I don't know where that field is.
Thanks for all the help so far, I'm sorry, but I just can't seem to figure this out.
alex12345 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 2nd, 2009, 05:32 AM   #6
Reputable Member
 

Join Date: Feb 2007
Location: UK
Posts: 213
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 dangergeek is on a distinguished road
Re: Can't get images into post field in Wordpress

It's fixable if your good with PHP.


If not...
Try this link here:
http://www.tutorial9.net/web-tutoria...custom-fields/
__________________
Download Guitar Hero Songs
dangergeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 3rd, 2009, 12:32 PM   #7
New Member
 

Join Date: Apr 2008
Location: austin texas
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alex12345 is on a distinguished road
Re: Can't get images into post field in Wordpress

Ok...
I modified code of layout.php to change the default picture. Here is that code...
<div class="box">

<?php
include(TEMPLATEPATH . '/includes/version.php');

$the_query = new WP_Query('cat=-'. $ex_feat . ',-' . $ex_vid . '&showposts=' . $showposts . '&orderby=post_date&order=desc');

$counter = 0; $counter2 = 0;

while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
?>

<?php $counter++; $counter2++; ?>

<div class="post <?php if ($counter == 1) { echo 'fl'; } else { echo 'fr'; $counter = 0; } ?>">

<?php if ( get_post_meta($post->ID, 'image', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->

<img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, "image", $single = true); ?>&amp;h=57&amp;w=100&amp;zc=1&amp;q=95" alt="" class="th" />

<?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->

<img src="<?php bloginfo('template_directory'); ?>/images/an10057.jpg" alt="" class="th" />

<?php } ?>

<h2><?php the_category(', ') ?></h2>
<h3><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<p class="posted">Posted on <?php the_time('d F Y'); ?></p>
<p><?php echo strip_tags(get_the_excerpt(), '<a><strong>'); ?> <span class="continue"><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>">Continue Reading</a></span></p>
<p class="comments"><?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?></p>

</div><!--/post-->

<?php if ( !($counter2 == $showposts) && ($counter == 0) ) { echo '<div class="hl-full"></div>'; ?> <div style="clear:both;"></div> <?php } ?>

<?php endwhile; ?>

<div class="fix" style="height:20px"></div>

<p class="ar hl3"><a href="<?php echo bloginfo('wpurl').'/?page_id='.$GLOBALS['archives_id']; ?>" class="more">SEE MORE ARTICLES IN THE ARCHIVE</a></p>

</div><!--/box-->

I read through article a couple times and tried changing the key to "thumbnail" and "thumb" while switching the value to image gallery post link and the link to image inside the content folder. I still cannot get the individual post to display its own image. The modified posts display either a question mark or an X.
alex12345 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help placing images in wordpress theme sharon1175 HTML, XHTML and CSS 2 June 1st, 2009 12:53 PM
Check field exists and dynamically add column/field in Access Table sunny99 Classic ASP 0 May 20th, 2009 05:08 PM
Wordpress Help Jack Franklin Forums, Blogging and Content Management 2 September 22nd, 2008 10:57 AM
Need javascript to set input field value field jdadwilson JavaScript 3 May 9th, 2007 01:47 AM
validate text field to db field jtesolin Classic ASP 1 July 18th, 2006 02:48 PM


Search Engine Optimization by vBSEO 3.2.0 RC8